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.001716/0.001716, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001929/0.001929, allocations: 187 kB / 17.34 MB, free: 5.762 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.385/1.385, allocations: 222.9 MB / 241 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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9767/0.9782, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06526/1.043, allocations: 62.62 MB / 1.15 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02154/1.065, allocations: 13.66 MB / 1.163 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003904/1.069, allocations: 64.75 kB / 1.163 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003741/1.073, allocations: 0.9737 MB / 1.164 GB, free: 14.15 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00948/1.082, allocations: 2.505 MB / 1.167 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005554/1.088, allocations: 1.636 MB / 1.168 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008574/1.097, allocations: 4.3 MB / 1.172 GB, free: 9.668 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/1.099, allocations: 1.41 MB / 1.174 GB, free: 8.984 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/1.105, allocations: 1.686 MB / 1.175 GB, free: 8.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/1.108, allocations: 1.28 MB / 1.177 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004176/1.108, allocations: 175.5 kB / 1.177 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/1.112, allocations: 1.429 MB / 1.178 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005599/1.113, allocations: 0.5033 MB / 1.179 GB, free: 6.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/1.114, allocations: 1.004 MB / 1.18 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/1.12, allocations: 3.175 MB / 1.183 GB, free: 3.449 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.12, allocations: 0 / 1.183 GB, free: 3.449 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.43e-06/1.12, allocations: 1.125 kB / 1.183 GB, free: 3.449 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.129e-05/1.12, allocations: 3.938 kB / 1.183 GB, free: 3.445 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.005627/1.126, allocations: 2.339 MB / 1.185 GB, free: 1.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.126, allocations: 8.625 kB / 1.185 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/1.128, allocations: 319.6 kB / 1.185 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/1.13, allocations: 1.475 MB / 1.187 GB, free: 468 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/1.13, allocations: 155.5 kB / 1.187 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/1.131, allocations: 112.8 kB / 1.187 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/1.133, allocations: 1.435 MB / 1.188 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/1.134, allocations: 9.344 kB / 1.188 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/1.134, allocations: 44.28 kB / 1.189 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/1.134, allocations: 40.55 kB / 1.189 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/1.137, allocations: 1.333 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.008802/1.146, allocations: 6.627 MB / 1.196 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/1.148, allocations: 1.169 MB / 1.197 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/1.149, allocations: 0.5598 MB / 1.198 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008958/1.15, allocations: 1.156 MB / 1.199 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/1.15, allocations: 48.28 kB / 1.199 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 3.327e-06/1.15, allocations: 0 / 1.199 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.00443/1.155, allocations: 1.587 MB / 1.201 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/1.155, allocations: 115.9 kB / 1.201 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/1.157, allocations: 1.403 MB / 1.202 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.157, allocations: 42.92 kB / 1.202 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000564/1.157, allocations: 0.7159 MB / 1.203 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/1.158, allocations: 261.5 kB / 1.203 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/1.158, allocations: 178.3 kB / 1.203 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.158, allocations: 341.4 kB / 1.204 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/1.16, allocations: 0.4913 MB / 1.204 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/1.161, allocations: 0.7295 MB / 1.205 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/1.164, allocations: 1.128 MB / 1.206 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/1.164, allocations: 6.281 kB / 1.206 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003432/1.167, allocations: 1.348 MB / 1.207 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.167, allocations: 7.156 kB / 1.207 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.167, allocations: 4.531 kB / 1.207 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/1.167, allocations: 9.594 kB / 1.207 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/1.168, allocations: 282.1 kB / 1.208 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/1.168, allocations: 17.55 kB / 1.208 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.17, allocations: 151.2 kB / 1.208 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/1.17, allocations: 39.83 kB / 1.208 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001822/1.172, allocations: 0.7909 MB / 1.209 GB, free: 320 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001367/1.173, allocations: 0.7255 MB / 1.209 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002496/1.176, allocations: 1.114 MB / 1.21 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/1.176, allocations: 1.5 kB / 1.21 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003296/1.179, allocations: 1.342 MB / 1.212 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.179, allocations: 6.5 kB / 1.212 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.179, allocations: 5.375 kB / 1.212 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.179, allocations: 8.781 kB / 1.212 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.18, allocations: 275.8 kB / 1.212 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/1.18, allocations: 15.88 kB / 1.212 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.182, allocations: 151.1 kB / 1.212 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/1.182, allocations: 36 kB / 1.212 GB, free: 14.09 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.0003696/1.182, allocations: 236 kB / 1.212 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/1.182, allocations: 146.2 kB / 1.213 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/1.186, allocations: 1.486 MB / 1.214 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.186, allocations: 11.92 kB / 1.214 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.186, allocations: 4 kB / 1.214 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/1.188, allocations: 1.101 MB / 1.215 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/1.194, allocations: 3.098 MB / 1.218 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.194, allocations: 4 kB / 1.218 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009308/1.195, allocations: 187.7 kB / 1.218 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/1.195, allocations: 8 kB / 1.218 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/1.195, allocations: 28.2 kB / 1.218 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/1.195, allocations: 15.94 kB / 1.218 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.195, allocations: 4 kB / 1.218 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/1.199, allocations: 2.06 MB / 1.22 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/1.2, allocations: 382.7 kB / 1.221 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/1.2, allocations: 27.92 kB / 1.221 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.201, allocations: 103.9 kB / 1.221 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.201, allocations: 84.34 kB / 1.221 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/1.201, allocations: 43.97 kB / 1.221 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001434/1.203, allocations: 1.076 MB / 1.222 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.203, allocations: 0 / 1.222 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002154/1.205, allocations: 0.7955 MB / 1.223 GB, free: 2.922 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009945/1.206, allocations: 473 kB / 1.223 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004237/1.21, allocations: 1.818 MB / 1.225 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.21, allocations: 11.8 kB / 1.225 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/1.212, allocations: 0.6171 MB / 1.226 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/1.215, allocations: 0.8195 MB / 1.226 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/1.22, allocations: 2.823 MB / 1.229 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007846/1.221, allocations: 1.269 MB / 1.23 GB, free: 11 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/1.221, allocations: 139.4 kB / 1.231 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of SimCode: time 1.132e-06/1.221, allocations: 4 kB / 1.231 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of Templates: time 0.04387/1.265, allocations: 28.87 MB / 1.259 GB, free: 14.18 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