Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 112.1 kB / 16.42 MB, free: 6.453 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.001135/0.001135, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.51/2.51, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7709, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.09239/0.8633, allocations: 90.37 MB / 1.296 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03517/0.8985, allocations: 24.35 MB / 1.32 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004089/0.9026, allocations: 115.4 kB / 1.32 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006952/0.9097, allocations: 2.445 MB / 1.323 GB, free: 8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.92, allocations: 3.824 MB / 1.326 GB, free: 4.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007523/0.9275, allocations: 3.183 MB / 1.33 GB, free: 1.004 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01356/0.9411, allocations: 9.953 MB / 1.339 GB, free: 7.035 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004235/0.9454, allocations: 2.383 MB / 1.342 GB, free: 4.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006046/0.9514, allocations: 2.755 MB / 1.344 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.9551, allocations: 2.132 MB / 1.346 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009695/0.9561, allocations: 312 kB / 1.347 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005718/0.9618, allocations: 2.624 MB / 1.349 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.9631, allocations: 0.9501 MB / 1.35 GB, free: 11.81 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.9663, allocations: 1.827 MB / 1.352 GB, free: 9.973 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009063/0.9754, allocations: 5.854 MB / 1.358 GB, free: 4.102 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9754, allocations: 0 / 1.358 GB, free: 4.102 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9754, allocations: 0 / 1.358 GB, free: 4.102 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001486/0.9756, allocations: 4 kB / 1.358 GB, free: 4.098 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.009434/0.985, allocations: 4.014 MB / 1.362 GB, free: 15.98 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.9851, allocations: 12.03 kB / 1.362 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003913/0.989, allocations: 0.7569 MB / 1.362 GB, free: 15.2 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/0.9959, allocations: 3.45 MB / 1.366 GB, free: 11.69 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.9962, allocations: 206.7 kB / 1.366 GB, free: 11.47 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005593/0.9968, allocations: 183.9 kB / 1.366 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004829/1.002, allocations: 2.027 MB / 1.368 GB, free: 9.172 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/1.002, allocations: 0 / 1.368 GB, free: 9.172 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/1.002, allocations: 71.92 kB / 1.368 GB, free: 9.102 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/1.002, allocations: 58.8 kB / 1.368 GB, free: 9.043 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004415/1.006, allocations: 1.83 MB / 1.37 GB, free: 7.207 MB / 1.092 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.01529/1.022, allocations: 9.804 MB / 1.38 GB, free: 12.88 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/1.025, allocations: 1.252 MB / 1.381 GB, free: 11.6 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/1.026, allocations: 0.7226 MB / 1.381 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006947/1.033, allocations: 3.909 MB / 1.385 GB, free: 6.637 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00206/1.035, allocations: 0.813 MB / 1.386 GB, free: 5.812 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001424/1.037, allocations: 122.6 kB / 1.386 GB, free: 5.691 MB / 1.107 GB Notification: Performance of pre-optimization done (n=98): time 1.146e-05/1.037, allocations: 0 / 1.386 GB, free: 5.691 MB / 1.107 GB Notification: Performance of matching and sorting (n=98): time 0.005544/1.042, allocations: 2.059 MB / 1.388 GB, free: 3.625 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/1.042, allocations: 94.09 kB / 1.388 GB, free: 3.512 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005666/1.048, allocations: 2.95 MB / 1.391 GB, free: 0.5547 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/1.048, allocations: 53.7 kB / 1.391 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001354/1.05, allocations: 1.296 MB / 1.393 GB, free: 15.19 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/1.05, allocations: 335.3 kB / 1.393 GB, free: 14.86 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009085/1.051, allocations: 443.1 kB / 1.393 GB, free: 14.42 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.051, allocations: 301.1 kB / 1.394 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/1.053, allocations: 0.9573 MB / 1.394 GB, free: 13.16 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/1.056, allocations: 1.466 MB / 1.396 GB, free: 11.49 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/1.06, allocations: 2.195 MB / 1.398 GB, free: 9.098 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/1.06, allocations: 4 kB / 1.398 GB, free: 9.094 MB / 1.123 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.006144/1.066, allocations: 2.84 MB / 1.401 GB, free: 6.219 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.066, allocations: 145 kB / 1.401 GB, free: 6.055 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.066, allocations: 12 kB / 1.401 GB, free: 6.043 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.772e-05/1.066, allocations: 27.98 kB / 1.401 GB, free: 6.016 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/1.068, allocations: 403.4 kB / 1.401 GB, free: 5.621 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.239e-05/1.068, allocations: 27.92 kB / 1.401 GB, free: 5.594 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/1.071, allocations: 251.7 kB / 1.402 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/1.071, allocations: 99.95 kB / 1.402 GB, free: 5.25 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003171/1.074, allocations: 1.503 MB / 1.403 GB, free: 3.742 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002476/1.077, allocations: 1.47 MB / 1.405 GB, free: 2.07 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003886/1.081, allocations: 2.186 MB / 1.407 GB, free: 15.68 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-05/1.081, allocations: 4 kB / 1.407 GB, free: 15.67 MB / 1.139 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.00588/1.086, allocations: 2.846 MB / 1.41 GB, free: 12.8 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 9.654e-05/1.087, allocations: 138.8 kB / 1.41 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.087, allocations: 16 kB / 1.41 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.087, allocations: 20 kB / 1.41 GB, free: 12.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/1.088, allocations: 403.4 kB / 1.41 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.383e-05/1.088, allocations: 31.86 kB / 1.41 GB, free: 12.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/1.092, allocations: 263.7 kB / 1.41 GB, free: 11.92 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/1.092, allocations: 103.9 kB / 1.411 GB, free: 11.82 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TLoaSet.booPul.y,$PRE.TLoaSet.booPul.y,TSouEnt.booPul.y,$PRE.TSouEnt.booPul.y,pulse.booPul.y,$PRE.pulse.booPul.y,uMod.booPul.y,$PRE.uMod.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 196 * Array equations: 1 * Algorithm blocks: 4 * Record equations: 1 * 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.0006338/1.092, allocations: 295.7 kB / 1.411 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.093, allocations: 280.4 kB / 1.411 GB, free: 11.24 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004831/1.098, allocations: 1.861 MB / 1.413 GB, free: 9.379 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003039/1.101, allocations: 1.402 MB / 1.414 GB, free: 7.945 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/1.101, allocations: 8 kB / 1.414 GB, free: 7.938 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.103, allocations: 0.5403 MB / 1.415 GB, free: 7.375 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006899/1.103, allocations: 20 kB / 1.415 GB, free: 7.355 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.105, allocations: 123.8 kB / 1.415 GB, free: 7.234 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/1.105, allocations: 68.84 kB / 1.415 GB, free: 7.164 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004112/1.11, allocations: 1.61 MB / 1.417 GB, free: 5.551 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005574/1.115, allocations: 2.681 MB / 1.419 GB, free: 2.844 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001523/1.117, allocations: 0.7066 MB / 1.42 GB, free: 2.141 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004073/1.121, allocations: 2.006 MB / 1.422 GB, free: 144 kB / 1.139 GB Notification: Performance of Backend: time 6.31e-07/1.121, allocations: 4 kB / 1.422 GB, free: 140 kB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.131, allocations: 4.151 MB / 1.426 GB, free: 11.9 MB / 1.154 GB Notification: Performance of SimCode: time 0.01248/1.143, allocations: 5.942 MB / 1.432 GB, free: 5.926 MB / 1.154 GB Notification: Performance of Templates: time 0.1108/1.254, allocations: 68.91 MB / 1.499 GB, free: 1.715 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches