Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009326/0.000933, allocations: 98.88 kB / 16.02 MB, free: 76 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.001156/0.001156, allocations: 185.9 kB / 16.93 MB, free: 6.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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.81/2.81, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 13.88 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3571, allocations: 159.6 MB / 1.059 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06395/0.4211, allocations: 59.82 MB / 1.118 GB, free: 9.023 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.4385, allocations: 11.94 MB / 1.129 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.4409, allocations: 51.62 kB / 1.129 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.4431, allocations: 0.5438 MB / 1.13 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006066/0.4492, allocations: 1.803 MB / 1.132 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003399/0.4527, allocations: 1.08 MB / 1.133 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005317/0.458, allocations: 3.925 MB / 1.137 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.4599, allocations: 0.9189 MB / 1.138 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.4628, allocations: 1.128 MB / 1.139 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.4647, allocations: 0.8553 MB / 1.139 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003259/0.4651, allocations: 43.94 kB / 1.14 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.4683, allocations: 1.329 MB / 1.141 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000441/0.4687, allocations: 214.9 kB / 1.141 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.4701, allocations: 0.635 MB / 1.142 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002775/0.4729, allocations: 1.695 MB / 1.143 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4729, allocations: 0 / 1.143 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4729, allocations: 0 / 1.143 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.761e-05/0.473, allocations: 0 / 1.143 GB, free: 14.76 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003495/0.4765, allocations: 1.516 MB / 1.145 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4765, allocations: 11.97 kB / 1.145 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002396/0.4789, allocations: 474.9 kB / 1.145 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/0.4816, allocations: 1.143 MB / 1.146 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/0.482, allocations: 121.9 kB / 1.146 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.4822, allocations: 87.94 kB / 1.147 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.4848, allocations: 1.029 MB / 1.148 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.4849, allocations: 0 / 1.148 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.493e-05/0.485, allocations: 35.98 kB / 1.148 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.485, allocations: 20 kB / 1.148 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.4878, allocations: 0.9602 MB / 1.149 GB, free: 9.219 MB / 0.9044 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.007769/0.4955, allocations: 4.93 MB / 1.153 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.4992, allocations: 0.8975 MB / 1.154 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008968/0.5002, allocations: 344.6 kB / 1.155 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/0.5009, allocations: 0.8986 MB / 1.155 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.5009, allocations: 46.5 kB / 1.155 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=44): time 2.945e-06/0.5009, allocations: 4 kB / 1.155 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=44): time 0.009627/0.5106, allocations: 2.219 MB / 1.158 GB, free: 15.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.5106, allocations: 59.41 kB / 1.158 GB, free: 15.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.5127, allocations: 1.063 MB / 1.159 GB, free: 14.12 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5128, allocations: 37.7 kB / 1.159 GB, free: 14.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.5133, allocations: 0.5235 MB / 1.159 GB, free: 13.55 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.5135, allocations: 149.8 kB / 1.159 GB, free: 13.4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.5136, allocations: 49.69 kB / 1.159 GB, free: 13.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5137, allocations: 330 kB / 1.16 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.5148, allocations: 348.8 kB / 1.16 GB, free: 12.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.516, allocations: 0.5529 MB / 1.161 GB, free: 12.04 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.518, allocations: 0.7688 MB / 1.161 GB, free: 11.21 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.518, allocations: 4 kB / 1.161 GB, free: 11.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003174/0.5212, allocations: 1.09 MB / 1.162 GB, free: 10.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.5214, allocations: 217.4 kB / 1.163 GB, free: 9.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.5214, allocations: 8 kB / 1.163 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.5229, allocations: 340.6 kB / 1.163 GB, free: 9.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.5235, allocations: 139.8 kB / 1.163 GB, free: 9.348 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.5251, allocations: 0.9309 MB / 1.164 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5267, allocations: 203.1 kB / 1.164 GB, free: 8.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.882e-05/0.5268, allocations: 35.98 kB / 1.164 GB, free: 8.156 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5268, allocations: 6.188 kB / 1.164 GB, free: 8.152 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002816/0.5296, allocations: 0.9642 MB / 1.165 GB, free: 7.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.5297, allocations: 7.938 kB / 1.165 GB, free: 7.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.5309, allocations: 332.3 kB / 1.166 GB, free: 6.852 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.5315, allocations: 131.8 kB / 1.166 GB, free: 6.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.533, allocations: 0.927 MB / 1.167 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.5344, allocations: 179.4 kB / 1.167 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.5345, allocations: 31.98 kB / 1.167 GB, free: 5.562 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0006361/0.5351, allocations: 356.8 kB / 1.167 GB, free: 5.203 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.5355, allocations: 110.7 kB / 1.167 GB, free: 5.094 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.5398, allocations: 1.24 MB / 1.168 GB, free: 3.84 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.5399, allocations: 12 kB / 1.168 GB, free: 3.828 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5399, allocations: 0 / 1.168 GB, free: 3.828 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5399, allocations: 7.922 kB / 1.168 GB, free: 3.82 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/0.5461, allocations: 2.335 MB / 1.171 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.5461, allocations: 4 kB / 1.171 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/0.5464, allocations: 80.17 kB / 1.171 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.5476, allocations: 320.6 kB / 1.171 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.5476, allocations: 12 kB / 1.171 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.5492, allocations: 0.9791 MB / 1.172 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5493, allocations: 3.938 kB / 1.172 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/0.5535, allocations: 1.325 MB / 1.173 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.5542, allocations: 275.5 kB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/0.5545, allocations: 20 kB / 1.174 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.5556, allocations: 131.7 kB / 1.174 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5557, allocations: 39.83 kB / 1.174 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.5558, allocations: 23.98 kB / 1.174 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001442/0.5573, allocations: 0.7471 MB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5573, allocations: 0 / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001899/0.5592, allocations: 0.5652 MB / 1.175 GB, free: 12.8 MB / 0.9356 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.0009291/0.5601, allocations: 376.7 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003634/0.5638, allocations: 1.231 MB / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.5638, allocations: 0 / 1.177 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5648, allocations: 402.9 kB / 1.177 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.5682, allocations: 0.5032 MB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/0.5744, allocations: 2.59 MB / 1.18 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.5751, allocations: 1.062 MB / 1.181 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.5755, allocations: 79.42 kB / 1.181 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.5755, allocations: 4 kB / 1.181 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of Templates: time 0.0358/0.6113, allocations: 23.94 MB / 1.205 GB, free: 14.71 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches