Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001257/0.002164, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.002111, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1231/1.135, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.584/2.584, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3097/2.894, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.272e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002028/0.00205, allocations: 1.431 MB / 0.8197 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003198, allocations: 1.051 MB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.003222, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.779e-06/0.003232, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.975e-05/0.003261, allocations: 3.938 kB / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.003811, allocations: 286.6 kB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.222e-05/0.003883, allocations: 27.84 kB / 0.8211 GB, free: 44 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.003933, allocations: 4 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.003995, allocations: 7.984 kB / 0.8211 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.004052, allocations: 4 kB / 0.8211 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.004066, allocations: 4 kB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005848/0.004651, allocations: 0.5028 MB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.004665, allocations: 0 / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.004683, allocations: 4 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.005022, allocations: 255.2 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.099e-05/0.005043, allocations: 7.938 kB / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005044, allocations: 0 / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.00506, allocations: 0 / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004922/0.005552, allocations: 327.8 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.005597, allocations: 8.625 kB / 0.8222 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.005626, allocations: 8.875 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.005712, allocations: 105.8 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.005724, allocations: 8.375 kB / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.555e-06/0.005732, allocations: 384 / 0.8223 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.061e-05/0.005812, allocations: 38.25 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.00582, allocations: 8.188 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-06/0.005827, allocations: 384 / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.005831, allocations: 384 / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.005859, allocations: 15.88 kB / 0.8223 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.006084, allocations: 160.3 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.006236, allocations: 30.56 kB / 0.8225 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.006259, allocations: 16.84 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.006281, allocations: 0 / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.006301, allocations: 30.56 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.006303, allocations: 4 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001246/0.006427, allocations: 53.62 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.006461, allocations: 55.34 kB / 0.8227 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.006522, allocations: 102.7 kB / 0.8228 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.00653, allocations: 25.7 kB / 0.8228 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.00657, allocations: 80.14 kB / 0.8229 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.00658, allocations: 19.83 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.00661, allocations: 17.72 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.006689, allocations: 314.8 kB / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.006698, allocations: 4 kB / 0.8232 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.866e-05/0.006717, allocations: 21.7 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.00675, allocations: 29.64 kB / 0.8233 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.006753, allocations: 0 / 0.8233 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.378e-05/0.006806, allocations: 42.06 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.006819, allocations: 4 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006825, allocations: 7.938 kB / 0.8233 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.006835, allocations: 4.031 kB / 0.8233 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.006886, allocations: 11.94 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.006889, allocations: 0 / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.006906, allocations: 4 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.006913, allocations: 8.031 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.006971, allocations: 109.8 kB / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.006982, allocations: 7.938 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.425e-05/0.007076, allocations: 45.38 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007078, allocations: 3.938 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.007083, allocations: 7.938 kB / 0.8235 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.007085, allocations: 0 / 0.8235 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.311e-05/0.007168, allocations: 73.83 kB / 0.8236 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.00717, allocations: 0 / 0.8236 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.007193, allocations: 16 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-06/0.007199, allocations: 0 / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.0072, allocations: 0 / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.007205, allocations: 4 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.007208, allocations: 4.125 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.00721, allocations: 3.938 kB / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.393e-05/0.007284, allocations: 135.5 kB / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.007292, allocations: 0 / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.007315, allocations: 0 / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.007326, allocations: 4 kB / 0.8237 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.007328, allocations: 3.938 kB / 0.8237 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.147e-05/0.00734, allocations: 16.8 kB / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.41e-07/0.00734, allocations: 0 / 0.8237 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001719/0.007512, allocations: 51.73 kB / 0.8238 GB, free: 13.03 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002013/0.007713, allocations: 136.2 kB / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.476e-05/0.007778, allocations: 24.84 kB / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.007783, allocations: 0 / 0.824 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.007798, allocations: 20.77 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.007904, allocations: 4 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.008428, allocations: 124.6 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.648e-05/0.008464, allocations: 55.34 kB / 0.8241 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.008494, allocations: 7.984 kB / 0.8242 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.00853, allocations: 55.33 kB / 0.8242 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.008531, allocations: 0 / 0.8242 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of Templates: time 0.002557/0.01109, allocations: 1.054 MB / 0.8252 GB, free: 11.5 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.550586700439453]