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.409/2.409, allocations: 390.5 MB / 398 MB, free: 10.93 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.001017/0.001017, allocations: 187.5 kB / 491.2 MB, free: 1.535 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.536/1.536, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009514/0.0009514, allocations: 99.45 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.646e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3017, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.579, allocations: 434.9 MB / 1.637 GB, free: 12.3 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/1.58, allocations: 87.39 kB / 1.637 GB, free: 12.25 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.024/4.603, allocations: 0.6482 GB / 2.285 GB, free: 267.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/4.603, allocations: 0 / 2.285 GB, free: 267.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002232/4.604, allocations: 32.84 kB / 2.285 GB, free: 267.1 MB / 1.151 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.004147/4.608, allocations: 1.503 MB / 2.287 GB, free: 266.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/4.608, allocations: 7.75 kB / 2.287 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/4.61, allocations: 447 kB / 2.287 GB, free: 266.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/4.614, allocations: 1.309 MB / 2.289 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/4.614, allocations: 99.97 kB / 2.289 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/4.615, allocations: 46.09 kB / 2.289 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/4.616, allocations: 0.6315 MB / 2.289 GB, free: 266 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/4.618, allocations: 0.7685 MB / 2.29 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/4.618, allocations: 0 / 2.29 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/4.618, allocations: 7.891 kB / 2.29 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.73e-05/4.618, allocations: 28.22 kB / 2.29 GB, free: 265.8 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007404/4.625, allocations: 4.562 MB / 2.295 GB, free: 263.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00249/4.628, allocations: 0.6635 MB / 2.295 GB, free: 263.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/4.628, allocations: 197.8 kB / 2.295 GB, free: 263.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/4.629, allocations: 0.9058 MB / 2.296 GB, free: 262.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/4.629, allocations: 33.94 kB / 2.296 GB, free: 262.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/4.629, allocations: 0 / 2.296 GB, free: 262.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.003118/4.632, allocations: 0.795 MB / 2.297 GB, free: 262.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/4.632, allocations: 61.41 kB / 2.297 GB, free: 262.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/4.633, allocations: 0.7472 MB / 2.298 GB, free: 262 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/4.633, allocations: 25.7 kB / 2.298 GB, free: 262 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/4.634, allocations: 0.5481 MB / 2.298 GB, free: 261.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/4.634, allocations: 143.4 kB / 2.299 GB, free: 261.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/4.634, allocations: 3.156 kB / 2.299 GB, free: 261.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/4.634, allocations: 331.3 kB / 2.299 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/4.634, allocations: 176.1 kB / 2.299 GB, free: 261.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/4.635, allocations: 415.1 kB / 2.299 GB, free: 261.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/4.635, allocations: 265.4 kB / 2.3 GB, free: 261.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/4.635, allocations: 6.672 kB / 2.3 GB, free: 261.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003066/4.639, allocations: 0.9153 MB / 2.301 GB, free: 261 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004495/4.639, allocations: 1.671 MB / 2.302 GB, free: 259.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/4.639, allocations: 3.969 kB / 2.302 GB, free: 259.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006582/4.64, allocations: 237.7 kB / 2.302 GB, free: 259.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/4.64, allocations: 125.6 kB / 2.303 GB, free: 259.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000986/4.641, allocations: 0.872 MB / 2.303 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/4.643, allocations: 177.3 kB / 2.304 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/4.643, allocations: 33.84 kB / 2.304 GB, free: 258.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/4.643, allocations: 3.938 kB / 2.304 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002655/4.645, allocations: 0.782 MB / 2.304 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/4.645, allocations: 3.812 kB / 2.304 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005653/4.646, allocations: 232.8 kB / 2.305 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/4.647, allocations: 129.8 kB / 2.305 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009305/4.648, allocations: 0.8661 MB / 2.306 GB, free: 258.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/4.649, allocations: 152.2 kB / 2.306 GB, free: 258.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/4.649, allocations: 30.5 kB / 2.306 GB, free: 258.1 MB / 1.151 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 () * 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.0002573/4.649, allocations: 119.5 kB / 2.306 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/4.649, allocations: 100.9 kB / 2.306 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/4.652, allocations: 0.9097 MB / 2.307 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/4.652, allocations: 11.03 kB / 2.307 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/4.652, allocations: 0 / 2.307 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/4.653, allocations: 7.531 kB / 2.307 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005692/4.658, allocations: 1.891 MB / 2.309 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/4.658, allocations: 3.906 kB / 2.309 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/4.659, allocations: 81.38 kB / 2.309 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006603/4.659, allocations: 249.1 kB / 2.309 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/4.659, allocations: 6.281 kB / 2.309 GB, free: 257.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/4.66, allocations: 0.8968 MB / 2.31 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/4.66, allocations: 3.375 kB / 2.31 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00303/4.663, allocations: 1.112 MB / 2.311 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000576/4.664, allocations: 270 kB / 2.311 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/4.664, allocations: 7.734 kB / 2.311 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/4.665, allocations: 106.2 kB / 2.311 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.957e-05/4.665, allocations: 44.98 kB / 2.311 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/4.666, allocations: 23.33 kB / 2.311 GB, free: 256.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009414/4.666, allocations: 0.5756 MB / 2.312 GB, free: 256.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/4.666, allocations: 0 / 2.312 GB, free: 256.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002766/4.669, allocations: 0.6081 MB / 2.313 GB, free: 256.2 MB / 1.151 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 () * 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.002113/4.671, allocations: 0.6851 MB / 2.313 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002315/4.674, allocations: 0.8023 MB / 2.314 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/4.674, allocations: 0 / 2.314 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006409/4.674, allocations: 271.5 kB / 2.314 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/4.677, allocations: 392.7 kB / 2.315 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005887/4.683, allocations: 1.542 MB / 2.316 GB, free: 255.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/4.684, allocations: 1.094 MB / 2.317 GB, free: 254.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001874/4.686, allocations: 234.4 kB / 2.317 GB, free: 254.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/4.686, allocations: 54.33 kB / 2.318 GB, free: 254.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.974e-06/4.686, allocations: 0 / 2.318 GB, free: 254.8 MB / 1.151 GB Notification: Performance of Templates: time 0.0385/4.724, allocations: 23.31 MB / 2.34 GB, free: 254 MB / 1.151 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