Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Validation.Carnot_TCon_etaPL,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.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,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.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.000929, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.8 MB / 0.7128 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003988, allocations: 8 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.7105, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.0644/0.7749, allocations: 59.79 MB / 1.082 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.7925, allocations: 11.92 MB / 1.094 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002701/0.7953, allocations: 51.69 kB / 1.094 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.7976, allocations: 0.5516 MB / 1.094 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006569/0.8042, allocations: 1.8 MB / 1.096 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003729/0.808, allocations: 1.082 MB / 1.097 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005852/0.8138, allocations: 3.898 MB / 1.101 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.816, allocations: 0.9039 MB / 1.102 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.8193, allocations: 1.12 MB / 1.103 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.8213, allocations: 0.8593 MB / 1.104 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004119/0.8218, allocations: 40 kB / 1.104 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.8254, allocations: 1.341 MB / 1.105 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000527/0.8259, allocations: 214.9 kB / 1.105 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.8275, allocations: 0.6272 MB / 1.106 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.8307, allocations: 1.707 MB / 1.108 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8307, allocations: 0 / 1.108 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.865e-06/0.8307, allocations: 0 / 1.108 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.888e-05/0.8308, allocations: 0 / 1.108 GB, free: 9.641 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003813/0.8346, allocations: 1.481 MB / 1.109 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8347, allocations: 15.98 kB / 1.109 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.8372, allocations: 474.8 kB / 1.109 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/0.8401, allocations: 1.136 MB / 1.111 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.8405, allocations: 129.9 kB / 1.111 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.8407, allocations: 80 kB / 1.111 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.8432, allocations: 1.013 MB / 1.112 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.8432, allocations: 4 kB / 1.112 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.975e-05/0.8433, allocations: 32 kB / 1.112 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.8434, allocations: 16 kB / 1.112 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.8461, allocations: 0.9172 MB / 1.113 GB, free: 4.199 MB / 0.8575 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.008157/0.8542, allocations: 4.902 MB / 1.118 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/0.858, allocations: 0.9028 MB / 1.118 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000863/0.8589, allocations: 324.6 kB / 1.119 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/0.8597, allocations: 0.9102 MB / 1.12 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.8597, allocations: 34.56 kB / 1.12 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 3.446e-06/0.8597, allocations: 0 / 1.12 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.00952/0.8693, allocations: 2.181 MB / 1.122 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.8694, allocations: 55.41 kB / 1.122 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.8715, allocations: 1.059 MB / 1.123 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.8717, allocations: 37.7 kB / 1.123 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/0.8722, allocations: 0.5197 MB / 1.123 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.8724, allocations: 149.8 kB / 1.124 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.8725, allocations: 53.69 kB / 1.124 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8727, allocations: 322 kB / 1.124 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009988/0.8737, allocations: 328.9 kB / 1.124 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.8749, allocations: 0.5372 MB / 1.125 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.8767, allocations: 0.725 MB / 1.125 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.8767, allocations: 4 kB / 1.125 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003012/0.8797, allocations: 1.047 MB / 1.126 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.8799, allocations: 208.7 kB / 1.127 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.8799, allocations: 4 kB / 1.127 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.8813, allocations: 336.7 kB / 1.127 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.8819, allocations: 119.9 kB / 1.127 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.8835, allocations: 0.9567 MB / 1.128 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.8851, allocations: 187.3 kB / 1.128 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.8852, allocations: 31.98 kB / 1.128 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.8852, allocations: 4 kB / 1.128 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002577/0.8878, allocations: 0.9172 MB / 1.129 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.8878, allocations: 4 kB / 1.129 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.889, allocations: 333 kB / 1.129 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.8896, allocations: 127.8 kB / 1.13 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.8911, allocations: 0.9347 MB / 1.131 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.8925, allocations: 171.2 kB / 1.131 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.8926, allocations: 31.98 kB / 1.131 GB, free: 0.8672 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006704/0.8933, allocations: 353 kB / 1.131 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.8936, allocations: 118.7 kB / 1.131 GB, free: 404 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004247/0.8979, allocations: 1.205 MB / 1.132 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-05/0.8979, allocations: 15.98 kB / 1.132 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.898, allocations: 0 / 1.132 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.898, allocations: 0 / 1.132 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006083/0.9041, allocations: 2.3 MB / 1.135 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.9041, allocations: 7.938 kB / 1.135 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.9044, allocations: 71.89 kB / 1.135 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.9056, allocations: 324.9 kB / 1.135 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.9056, allocations: 15.94 kB / 1.135 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.9073, allocations: 0.9748 MB / 1.136 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.9073, allocations: 3.938 kB / 1.136 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/0.9115, allocations: 1.29 MB / 1.137 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/0.9123, allocations: 287.4 kB / 1.137 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.9126, allocations: 12 kB / 1.137 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.9138, allocations: 111.9 kB / 1.138 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.9139, allocations: 35.89 kB / 1.138 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.914, allocations: 23.98 kB / 1.138 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001574/0.9156, allocations: 0.7428 MB / 1.138 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9156, allocations: 0 / 1.138 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002244/0.9178, allocations: 0.5614 MB / 1.139 GB, free: 8.223 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.919, allocations: 392.2 kB / 1.139 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003537/0.9225, allocations: 1.173 MB / 1.14 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.9226, allocations: 3.984 kB / 1.14 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009743/0.9235, allocations: 371.1 kB / 1.141 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003586/0.9271, allocations: 0.4989 MB / 1.141 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.9338, allocations: 2.571 MB / 1.144 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008008/0.9346, allocations: 1.061 MB / 1.145 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.935, allocations: 87.36 kB / 1.145 GB, free: 2 MB / 0.8887 GB Notification: Performance of SimCode: time 1.593e-06/0.935, allocations: 4 kB / 1.145 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of Templates: time 0.0376/0.9726, allocations: 23.84 MB / 1.168 GB, free: 10.31 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches