Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008375/0.0008375, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005202/0.005202, allocations: 174 kB / 16.27 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.365/2.365, allocations: 390.9 MB / 0.6663 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 8 kB / 0.816 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/0.6494, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07231/0.7217, allocations: 73.47 MB / 1.027 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01982/0.7416, allocations: 15.04 MB / 1.041 GB, free: 6.617 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.7445, allocations: 59.56 kB / 1.042 GB, free: 6.559 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.7468, allocations: 0.676 MB / 1.042 GB, free: 5.879 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007114/0.754, allocations: 2.38 MB / 1.045 GB, free: 3.488 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.7571, allocations: 1.275 MB / 1.046 GB, free: 2.227 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006479/0.7636, allocations: 5.566 MB / 1.051 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.766, allocations: 1.176 MB / 1.052 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.7688, allocations: 1.322 MB / 1.054 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.7702, allocations: 1.151 MB / 1.055 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.7704, allocations: 56 kB / 1.055 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.7729, allocations: 1.232 MB / 1.056 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.7732, allocations: 294.6 kB / 1.056 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0008369/0.7741, allocations: 0.7983 MB / 1.057 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.777, allocations: 2.718 MB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.777, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7771, allocations: 7.938 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.7771, allocations: 0 / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003231/0.7803, allocations: 1.787 MB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.7804, allocations: 8.031 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007797/0.7811, allocations: 242.8 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.7835, allocations: 1.497 MB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.7835, allocations: 70 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.7837, allocations: 103.9 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.7858, allocations: 1.124 MB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.7858, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.7859, allocations: 44 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.7859, allocations: 24 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.788, allocations: 0.9368 MB / 1.065 GB, free: 13.84 MB / 0.8262 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.00565/0.7936, allocations: 4.911 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.7951, allocations: 0.6432 MB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.7959, allocations: 370.3 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.7966, allocations: 0.8199 MB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.7966, allocations: 43.12 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 1.964e-06/0.7966, allocations: 0 / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.007731/0.8043, allocations: 1.916 MB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.8044, allocations: 55.97 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.8062, allocations: 1.21 MB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.175e-05/0.8063, allocations: 45.69 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005599/0.8068, allocations: 0.5987 MB / 1.076 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.807, allocations: 216.9 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.8072, allocations: 69.61 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8073, allocations: 337.9 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007296/0.808, allocations: 301.8 kB / 1.077 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008828/0.8089, allocations: 0.5124 MB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.8104, allocations: 0.748 MB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8104, allocations: 0 / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005048/0.8155, allocations: 1.406 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.8157, allocations: 202.2 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.8157, allocations: 4 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.8163, allocations: 144.7 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/0.817, allocations: 167.7 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009079/0.8179, allocations: 0.7162 MB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.8191, allocations: 167.1 kB / 1.081 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/0.8191, allocations: 35.98 kB / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.8192, allocations: 0 / 1.081 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004772/0.8239, allocations: 1.257 MB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.824, allocations: 4 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/0.8245, allocations: 149 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/0.8251, allocations: 171.7 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008621/0.826, allocations: 0.7084 MB / 1.083 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.8271, allocations: 159.2 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/0.8272, allocations: 35.98 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006671/0.8279, allocations: 421.4 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.8281, allocations: 134.4 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005097/0.8332, allocations: 1.408 MB / 1.085 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.8332, allocations: 4 kB / 1.085 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.8332, allocations: 4 kB / 1.085 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004702/0.8379, allocations: 1.24 MB / 1.086 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/0.8451, allocations: 2.75 MB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.8451, allocations: 0 / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.8457, allocations: 120.3 kB / 1.089 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005437/0.8462, allocations: 140.7 kB / 1.089 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.8463, allocations: 16 kB / 1.089 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005209/0.8515, allocations: 2.478 MB / 1.092 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.8515, allocations: 7.938 kB / 1.092 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005933/0.8575, allocations: 1.848 MB / 1.093 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.8582, allocations: 339 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.8583, allocations: 19.92 kB / 1.094 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/0.8593, allocations: 91.89 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.8594, allocations: 68.22 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.8595, allocations: 31.98 kB / 1.094 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001247/0.8607, allocations: 0.8701 MB / 1.095 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8607, allocations: 4 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001845/0.8626, allocations: 0.7135 MB / 1.095 GB, free: 13.85 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008834/0.8635, allocations: 447.1 kB / 1.096 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.8662, allocations: 1.168 MB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8662, allocations: 3.938 kB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.8679, allocations: 0.5995 MB / 1.098 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004394/0.8723, allocations: 0.7935 MB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.8764, allocations: 2.813 MB / 1.101 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/0.8772, allocations: 1.187 MB / 1.102 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00135/0.8786, allocations: 310.9 kB / 1.103 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.8789, allocations: 111.4 kB / 1.103 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.8789, allocations: 3.938 kB / 1.103 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of Templates: time 0.05114/0.93, allocations: 31.94 MB / 1.134 GB, free: 6.758 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches