Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001674/0.001674, allocations: 109.1 kB / 16.42 MB, free: 6.461 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.001544/0.001544, allocations: 189.5 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.189/2.189, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 64.08 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8333, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.09695/0.9303, allocations: 89.94 MB / 1.176 GB, free: 5 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03535/0.9657, allocations: 22.56 MB / 1.198 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006076/0.9718, allocations: 110.2 kB / 1.199 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005597/0.9774, allocations: 1.676 MB / 1.2 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01307/0.9905, allocations: 3.834 MB / 1.204 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00967/1, allocations: 3.114 MB / 1.207 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01234/1.013, allocations: 7.046 MB / 1.214 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005071/1.018, allocations: 2.349 MB / 1.216 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008083/1.026, allocations: 2.808 MB / 1.219 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004785/1.031, allocations: 2.058 MB / 1.221 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/1.032, allocations: 302.2 kB / 1.221 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007617/1.04, allocations: 2.44 MB / 1.224 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/1.041, allocations: 0.8134 MB / 1.224 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006363/1.048, allocations: 1.632 MB / 1.226 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/1.06, allocations: 5.256 MB / 1.231 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.06, allocations: 0 / 1.231 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/1.06, allocations: 0 / 1.231 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001408/1.06, allocations: 4 kB / 1.231 GB, free: 11.98 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 383 * Number of variables: 383 Notification: Performance of Generate backend data structure: time 0.008981/1.069, allocations: 3.59 MB / 1.235 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.069, allocations: 12.03 kB / 1.235 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/1.074, allocations: 0.7427 MB / 1.235 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006276/1.08, allocations: 2.405 MB / 1.238 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/1.08, allocations: 210.4 kB / 1.238 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/1.081, allocations: 172 kB / 1.238 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/1.085, allocations: 2.045 MB / 1.24 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/1.085, allocations: 7.984 kB / 1.24 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/1.086, allocations: 64 kB / 1.24 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/1.086, allocations: 62.78 kB / 1.24 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/1.09, allocations: 1.846 MB / 1.242 GB, free: 0.5547 MB / 0.9669 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.0148/1.105, allocations: 9.482 MB / 1.251 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/1.108, allocations: 1.293 MB / 1.253 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/1.11, allocations: 0.746 MB / 1.253 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005975/1.116, allocations: 3.87 MB / 1.257 GB, free: 300 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/1.118, allocations: 0.8444 MB / 1.258 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007507/1.118, allocations: 98.88 kB / 1.258 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=99): time 4.568e-06/1.118, allocations: 4 kB / 1.258 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99): time 0.0052/1.124, allocations: 2.083 MB / 1.26 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/1.124, allocations: 98.05 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/1.127, allocations: 2.359 MB / 1.262 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002789/1.127, allocations: 61.7 kB / 1.262 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/1.129, allocations: 1.165 MB / 1.264 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000405/1.129, allocations: 339.2 kB / 1.264 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006057/1.13, allocations: 331.3 kB / 1.264 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.13, allocations: 357.9 kB / 1.265 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/1.132, allocations: 0.7972 MB / 1.265 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/1.134, allocations: 1.248 MB / 1.267 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/1.138, allocations: 1.91 MB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/1.138, allocations: 7.984 kB / 1.268 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.006029/1.144, allocations: 2.395 MB / 1.271 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.145, allocations: 148.9 kB / 1.271 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.145, allocations: 8 kB / 1.271 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.554e-05/1.145, allocations: 20.75 kB / 1.271 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/1.146, allocations: 355.4 kB / 1.271 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.659e-05/1.146, allocations: 31.92 kB / 1.271 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/1.149, allocations: 244.3 kB / 1.272 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/1.149, allocations: 91.94 kB / 1.272 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002903/1.152, allocations: 1.23 MB / 1.273 GB, free: 15.58 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002362/1.154, allocations: 1.236 MB / 1.274 GB, free: 14.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003817/1.158, allocations: 1.867 MB / 1.276 GB, free: 12.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.246e-06/1.158, allocations: 4 kB / 1.276 GB, free: 12.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=177) (initialization_lambda0): time 0.005731/1.164, allocations: 2.36 MB / 1.278 GB, free: 9.699 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.164, allocations: 142.8 kB / 1.278 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.164, allocations: 12 kB / 1.278 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.164, allocations: 20 kB / 1.278 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.166, allocations: 356 kB / 1.279 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.653e-05/1.166, allocations: 27.92 kB / 1.279 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/1.168, allocations: 252.3 kB / 1.279 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.169, allocations: 91.94 kB / 1.279 GB, free: 8.793 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (168): * Single equations (assignments): 163 * Array equations: 1 * Algorithm blocks: 4 * 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.0005487/1.169, allocations: 283.8 kB / 1.279 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007949/1.17, allocations: 241 kB / 1.28 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/1.175, allocations: 1.895 MB / 1.281 GB, free: 6.371 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003232/1.178, allocations: 1.453 MB / 1.283 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.178, allocations: 4 kB / 1.283 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.179, allocations: 493.8 kB / 1.283 GB, free: 4.379 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006127/1.18, allocations: 20 kB / 1.283 GB, free: 4.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/1.182, allocations: 119.8 kB / 1.283 GB, free: 4.242 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.182, allocations: 80.83 kB / 1.283 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004627/1.187, allocations: 1.653 MB / 1.285 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00605/1.193, allocations: 2.706 MB / 1.288 GB, free: 15.78 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001659/1.194, allocations: 0.734 MB / 1.288 GB, free: 15.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003174/1.198, allocations: 1.623 MB / 1.29 GB, free: 13.42 MB / 1.029 GB Notification: Performance of Backend: time 3.3e-07/1.198, allocations: 0 / 1.29 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.009749/1.207, allocations: 3.543 MB / 1.293 GB, free: 9.789 MB / 1.029 GB Notification: Performance of SimCode: time 0.01089/1.218, allocations: 5.136 MB / 1.299 GB, free: 4.613 MB / 1.029 GB Notification: Performance of Templates: time 0.09901/1.317, allocations: 61.67 MB / 1.359 GB, free: 7.613 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches