Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 111.6 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7682, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06373/0.832, allocations: 62.63 MB / 1.15 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.8552, allocations: 13.66 MB / 1.163 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003386/0.8586, allocations: 61.41 kB / 1.163 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00372/0.8624, allocations: 0.9655 MB / 1.164 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008822/0.8713, allocations: 2.516 MB / 1.167 GB, free: 12.64 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005293/0.8766, allocations: 1.632 MB / 1.168 GB, free: 11.74 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007179/0.8838, allocations: 4.301 MB / 1.172 GB, free: 9.652 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002731/0.8865, allocations: 1.414 MB / 1.174 GB, free: 8.965 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.891, allocations: 1.673 MB / 1.175 GB, free: 8.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.8939, allocations: 1.287 MB / 1.177 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006784/0.8946, allocations: 176 kB / 1.177 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004326/0.8989, allocations: 1.444 MB / 1.178 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008767/0.8998, allocations: 0.5 MB / 1.179 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00227/0.9021, allocations: 1.004 MB / 1.18 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006351/0.9084, allocations: 3.167 MB / 1.183 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.9085, allocations: 0 / 1.183 GB, free: 3.453 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.454e-06/0.9085, allocations: 1.312 kB / 1.183 GB, free: 3.453 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.495e-05/0.9086, allocations: 0 / 1.183 GB, free: 3.453 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006607/0.9152, allocations: 2.336 MB / 1.185 GB, free: 1.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.9152, allocations: 8.219 kB / 1.185 GB, free: 1.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.9171, allocations: 320.2 kB / 1.185 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.9204, allocations: 1.478 MB / 1.187 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.9206, allocations: 157.5 kB / 1.187 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/0.9209, allocations: 108.1 kB / 1.187 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/0.9243, allocations: 1.434 MB / 1.188 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.428e-05/0.9244, allocations: 9.375 kB / 1.188 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.9246, allocations: 51.75 kB / 1.189 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.953e-05/0.9246, allocations: 37.3 kB / 1.189 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003484/0.9281, allocations: 1.337 MB / 1.19 GB, free: 14.64 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009576/0.9377, allocations: 6.627 MB / 1.196 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.94, allocations: 1.161 MB / 1.197 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.9413, allocations: 0.5609 MB / 1.198 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007864/0.9421, allocations: 1.149 MB / 1.199 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.9422, allocations: 40.34 kB / 1.199 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 2.936e-06/0.9422, allocations: 1.125 kB / 1.199 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.004499/0.9467, allocations: 1.595 MB / 1.201 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.9467, allocations: 119 kB / 1.201 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.9492, allocations: 1.407 MB / 1.202 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.9494, allocations: 43.2 kB / 1.202 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.95, allocations: 0.712 MB / 1.203 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.9503, allocations: 266 kB / 1.203 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.9506, allocations: 176.9 kB / 1.203 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.9507, allocations: 338.8 kB / 1.204 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.9521, allocations: 0.49 MB / 1.204 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.9536, allocations: 0.731 MB / 1.205 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.9562, allocations: 1.135 MB / 1.206 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.9563, allocations: 1.906 kB / 1.206 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003509/0.9598, allocations: 1.347 MB / 1.207 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9598, allocations: 7.281 kB / 1.207 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.9598, allocations: 4.594 kB / 1.207 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.9599, allocations: 9.062 kB / 1.207 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.9611, allocations: 271.7 kB / 1.208 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.59e-05/0.9611, allocations: 20.33 kB / 1.208 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.9626, allocations: 159.7 kB / 1.208 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.9628, allocations: 39.55 kB / 1.208 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001797/0.9646, allocations: 0.7999 MB / 1.209 GB, free: 316 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001427/0.966, allocations: 0.7131 MB / 1.209 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002559/0.9686, allocations: 1.126 MB / 1.21 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.9686, allocations: 1.344 kB / 1.21 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003407/0.972, allocations: 1.343 MB / 1.212 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.972, allocations: 6.594 kB / 1.212 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.972, allocations: 4.906 kB / 1.212 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.9721, allocations: 12.92 kB / 1.212 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.9733, allocations: 268.3 kB / 1.212 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.9733, allocations: 15.92 kB / 1.212 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.9747, allocations: 147.1 kB / 1.212 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.9748, allocations: 35.98 kB / 1.212 GB, free: 14.1 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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 0.0003433/0.9752, allocations: 244 kB / 1.212 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.9756, allocations: 146.2 kB / 1.213 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.979, allocations: 1.474 MB / 1.214 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002491/0.9815, allocations: 1.101 MB / 1.215 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.9815, allocations: 11.94 kB / 1.215 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008438/0.9824, allocations: 351 kB / 1.215 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.9828, allocations: 23.92 kB / 1.215 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.9841, allocations: 95.86 kB / 1.216 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.9843, allocations: 64.58 kB / 1.216 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003422/0.9877, allocations: 1.282 MB / 1.217 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004353/0.9921, allocations: 2.041 MB / 1.219 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001245/0.9933, allocations: 0.5517 MB / 1.219 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001528/0.9949, allocations: 0.9943 MB / 1.22 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of Backend: time 5.81e-07/0.9949, allocations: 3.938 kB / 1.22 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005418/1, allocations: 1.875 MB / 1.222 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of SimCode: time 0.005959/1.006, allocations: 3.352 MB / 1.225 GB, free: 368 kB / 0.9512 GB Notification: Performance of Templates: time 0.05711/1.063, allocations: 37.91 MB / 1.262 GB, free: 10.79 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches