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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 393.5 MB / 408.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 191.9 kB / 0.4902 GB, free: 2.301 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.1 MB / 0.7992 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 104.3 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 11.59 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4241, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.65, allocations: 435.6 MB / 1.655 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.651, allocations: 94.95 kB / 1.655 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.94/3.59, allocations: 0.6535 GB / 2.308 GB, free: 12.08 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.152e-06/3.591, allocations: 0 / 2.308 GB, free: 12.08 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001216/3.591, allocations: 39.92 kB / 2.308 GB, free: 12.04 MB / 1.167 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.003668/3.594, allocations: 1.738 MB / 2.31 GB, free: 10.24 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/3.594, allocations: 8.031 kB / 2.31 GB, free: 10.23 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/3.596, allocations: 446 kB / 2.31 GB, free: 9.793 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/3.599, allocations: 1.324 MB / 2.312 GB, free: 8.414 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/3.6, allocations: 130.1 kB / 2.312 GB, free: 8.285 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/3.6, allocations: 80 kB / 2.312 GB, free: 8.207 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/3.602, allocations: 1.025 MB / 2.313 GB, free: 7.137 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/3.602, allocations: 0 / 2.313 GB, free: 7.137 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/3.602, allocations: 32 kB / 2.313 GB, free: 7.105 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/3.602, allocations: 29.94 kB / 2.313 GB, free: 7.074 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/3.604, allocations: 0.9407 MB / 2.314 GB, free: 6.133 MB / 1.167 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.006485/3.611, allocations: 4.749 MB / 2.318 GB, free: 1.059 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/3.614, allocations: 0.8979 MB / 2.319 GB, free: 156 kB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.794/4.408, allocations: 0.8988 MB / 2.32 GB, free: 250.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/4.408, allocations: 37.22 kB / 2.32 GB, free: 250.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 5.119e-06/4.408, allocations: 0 / 2.32 GB, free: 250.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.008726/4.417, allocations: 2.101 MB / 2.322 GB, free: 250.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/4.417, allocations: 56.33 kB / 2.322 GB, free: 250.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/4.419, allocations: 0.9522 MB / 2.323 GB, free: 250.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/4.419, allocations: 37.3 kB / 2.323 GB, free: 250.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/4.419, allocations: 0.5428 MB / 2.324 GB, free: 250.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/4.42, allocations: 151.1 kB / 2.324 GB, free: 250.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/4.42, allocations: 8.25 kB / 2.324 GB, free: 250.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/4.42, allocations: 334 kB / 2.324 GB, free: 250 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/4.421, allocations: 322 kB / 2.325 GB, free: 250 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/4.422, allocations: 0.5607 MB / 2.325 GB, free: 249.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/4.423, allocations: 355.9 kB / 2.325 GB, free: 249.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/4.423, allocations: 1.156 kB / 2.325 GB, free: 249.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.004688/4.428, allocations: 1.265 MB / 2.327 GB, free: 249.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004522/4.428, allocations: 1.674 MB / 2.328 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/4.428, allocations: 4.688 kB / 2.328 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/4.43, allocations: 348.1 kB / 2.329 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/4.43, allocations: 129.1 kB / 2.329 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/4.432, allocations: 0.9793 MB / 2.33 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/4.434, allocations: 202.4 kB / 2.33 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/4.434, allocations: 34.84 kB / 2.33 GB, free: 247.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/4.434, allocations: 4.031 kB / 2.33 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004296/4.438, allocations: 1.134 MB / 2.331 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/4.438, allocations: 4.016 kB / 2.331 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/4.44, allocations: 349.8 kB / 2.331 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/4.44, allocations: 129.4 kB / 2.332 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/4.442, allocations: 0.975 MB / 2.333 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/4.444, allocations: 178.9 kB / 2.333 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.944e-05/4.444, allocations: 32.02 kB / 2.333 GB, free: 246.7 MB / 1.167 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 (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0009405/4.445, allocations: 348.4 kB / 2.333 GB, free: 246.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/4.445, allocations: 113 kB / 2.333 GB, free: 246.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/4.45, allocations: 1.21 MB / 2.334 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/4.45, allocations: 7.453 kB / 2.334 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/4.45, allocations: 2.156 kB / 2.334 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/4.45, allocations: 2.672 kB / 2.334 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006922/4.457, allocations: 2.278 MB / 2.337 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/4.457, allocations: 5.203 kB / 2.337 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/4.457, allocations: 75.12 kB / 2.337 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/4.458, allocations: 359.9 kB / 2.337 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/4.458, allocations: 12.23 kB / 2.337 GB, free: 246 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/4.46, allocations: 1.002 MB / 2.338 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/4.46, allocations: 3.125 kB / 2.338 GB, free: 245.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/4.465, allocations: 1.393 MB / 2.339 GB, free: 245.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000929/4.466, allocations: 287.5 kB / 2.34 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/4.466, allocations: 12.83 kB / 2.34 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009894/4.467, allocations: 117.9 kB / 2.34 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/4.467, allocations: 38.92 kB / 2.34 GB, free: 244.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-05/4.467, allocations: 25.86 kB / 2.34 GB, free: 244.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001925/4.469, allocations: 0.7554 MB / 2.341 GB, free: 244.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/4.469, allocations: 0 / 2.341 GB, free: 244.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002745/4.472, allocations: 0.627 MB / 2.341 GB, free: 244.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.00167/4.474, allocations: 0.6819 MB / 2.342 GB, free: 244.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004104/4.478, allocations: 1.206 MB / 2.343 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/4.478, allocations: 1.531 kB / 2.343 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/4.479, allocations: 395.2 kB / 2.343 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/4.482, allocations: 0.4998 MB / 2.344 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/4.488, allocations: 2.491 MB / 2.346 GB, free: 243.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/4.489, allocations: 1.084 MB / 2.347 GB, free: 242.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001374/4.49, allocations: 214.9 kB / 2.348 GB, free: 242.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/4.49, allocations: 75.42 kB / 2.348 GB, free: 242.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.204e-06/4.49, allocations: 0 / 2.348 GB, free: 242.9 MB / 1.167 GB Notification: Performance of Templates: time 0.04721/4.538, allocations: 26.92 MB / 2.374 GB, free: 242.4 MB / 1.167 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches