Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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,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_latest_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_latest_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.001743/0.001743, allocations: 114.3 kB / 16.42 MB, free: 6.508 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.001897/0.001897, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.644/2.644, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.84 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.6843, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06117/0.7455, allocations: 62.65 MB / 1.288 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.7634, allocations: 13.66 MB / 1.301 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.7659, allocations: 59.69 kB / 1.301 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.769, allocations: 0.9707 MB / 1.302 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006703/0.7758, allocations: 2.5 MB / 1.304 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.78, allocations: 1.648 MB / 1.306 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007096/0.7872, allocations: 4.29 MB / 1.31 GB, free: 7.477 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.7895, allocations: 1.414 MB / 1.311 GB, free: 6.027 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.7933, allocations: 1.674 MB / 1.313 GB, free: 4.355 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.7955, allocations: 1.288 MB / 1.314 GB, free: 3.062 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005234/0.7961, allocations: 176 kB / 1.315 GB, free: 2.891 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.7995, allocations: 1.431 MB / 1.316 GB, free: 1.457 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007098/0.8002, allocations: 0.51 MB / 1.316 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.8019, allocations: 1.003 MB / 1.317 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005437/0.8073, allocations: 3.189 MB / 1.321 GB, free: 12.74 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8074, allocations: 0 / 1.321 GB, free: 12.74 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8074, allocations: 0 / 1.321 GB, free: 12.74 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.286e-05/0.8075, allocations: 0 / 1.321 GB, free: 12.74 MB / 1.045 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.005199/0.8127, allocations: 2.401 MB / 1.323 GB, free: 10.28 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.8127, allocations: 12.03 kB / 1.323 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.8142, allocations: 331.4 kB / 1.323 GB, free: 9.941 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/0.817, allocations: 1.484 MB / 1.325 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/0.8172, allocations: 161.4 kB / 1.325 GB, free: 8.234 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.8174, allocations: 108 kB / 1.325 GB, free: 8.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.8203, allocations: 1.445 MB / 1.326 GB, free: 6.594 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.8203, allocations: 4 kB / 1.326 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.8205, allocations: 48 kB / 1.326 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.8205, allocations: 32 kB / 1.326 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/0.8238, allocations: 1.335 MB / 1.328 GB, free: 5.18 MB / 1.045 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.008486/0.8323, allocations: 6.64 MB / 1.334 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.8345, allocations: 1.174 MB / 1.335 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.8359, allocations: 0.5648 MB / 1.336 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008/0.8367, allocations: 1.145 MB / 1.337 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.8367, allocations: 43.22 kB / 1.337 GB, free: 10.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=77): time 2.575e-06/0.8367, allocations: 0 / 1.337 GB, free: 10.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=77): time 0.004381/0.8411, allocations: 1.598 MB / 1.339 GB, free: 9.207 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.8412, allocations: 115.5 kB / 1.339 GB, free: 9.066 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.8435, allocations: 1.409 MB / 1.34 GB, free: 7.648 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.8436, allocations: 41.7 kB / 1.34 GB, free: 7.602 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006018/0.8443, allocations: 0.7253 MB / 1.341 GB, free: 6.867 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.8445, allocations: 285.5 kB / 1.341 GB, free: 6.586 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/0.8449, allocations: 178.6 kB / 1.341 GB, free: 6.406 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.845, allocations: 341.9 kB / 1.342 GB, free: 6.066 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.8463, allocations: 0.4888 MB / 1.342 GB, free: 5.574 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.8478, allocations: 0.7269 MB / 1.343 GB, free: 4.758 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.8503, allocations: 1.133 MB / 1.344 GB, free: 3.562 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8503, allocations: 0 / 1.344 GB, free: 3.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00335/0.8537, allocations: 1.359 MB / 1.345 GB, free: 2.195 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.8537, allocations: 8 kB / 1.345 GB, free: 2.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.8537, allocations: 7.938 kB / 1.345 GB, free: 2.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.8538, allocations: 8 kB / 1.345 GB, free: 2.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.8551, allocations: 272.2 kB / 1.346 GB, free: 1.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.8551, allocations: 11.94 kB / 1.346 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.8564, allocations: 163.2 kB / 1.346 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.8565, allocations: 39.98 kB / 1.346 GB, free: 1.695 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001735/0.8582, allocations: 0.7985 MB / 1.346 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001413/0.8596, allocations: 0.719 MB / 1.347 GB, free: 84 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002528/0.8622, allocations: 1.121 MB / 1.348 GB, free: 14.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.8622, allocations: 0 / 1.348 GB, free: 14.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003294/0.8655, allocations: 1.352 MB / 1.35 GB, free: 13.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8655, allocations: 12 kB / 1.35 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8655, allocations: 7.938 kB / 1.35 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.8656, allocations: 8 kB / 1.35 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.8668, allocations: 275.6 kB / 1.35 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.8669, allocations: 8 kB / 1.35 GB, free: 13.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.8681, allocations: 147.4 kB / 1.35 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.8682, allocations: 39.98 kB / 1.35 GB, free: 13.05 MB / 1.076 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.0003013/0.8685, allocations: 240 kB / 1.35 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004007/0.869, allocations: 159 kB / 1.35 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/0.8723, allocations: 1.478 MB / 1.352 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002521/0.8749, allocations: 1.105 MB / 1.353 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.8749, allocations: 4 kB / 1.353 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006533/0.8756, allocations: 375.7 kB / 1.353 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.8758, allocations: 16 kB / 1.353 GB, free: 9.598 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.8769, allocations: 99.8 kB / 1.353 GB, free: 9.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.8771, allocations: 64.58 kB / 1.354 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003434/0.8806, allocations: 1.274 MB / 1.355 GB, free: 8.156 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004312/0.8849, allocations: 2.058 MB / 1.357 GB, free: 6.078 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001239/0.8862, allocations: 0.5595 MB / 1.357 GB, free: 5.516 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001546/0.8877, allocations: 0.9827 MB / 1.358 GB, free: 4.535 MB / 1.076 GB Notification: Performance of Backend: time 5.71e-07/0.8877, allocations: 0 / 1.358 GB, free: 4.535 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005082/0.8928, allocations: 1.872 MB / 1.36 GB, free: 2.672 MB / 1.076 GB Notification: Performance of SimCode: time 0.006056/0.8989, allocations: 3.405 MB / 1.363 GB, free: 15.23 MB / 1.092 GB Notification: Performance of Templates: time 0.05961/0.9585, allocations: 37.95 MB / 1.4 GB, free: 9.59 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches