Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.0009608/0.0009608, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009459/0.0009461, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.2 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003177, allocations: 8 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7237, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05088/0.7747, allocations: 51.39 MB / 1.004 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.7905, allocations: 10.33 MB / 1.014 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.7928, allocations: 43.69 kB / 1.014 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.7952, allocations: 0.6257 MB / 1.014 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009045/0.8043, allocations: 1.955 MB / 1.016 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004151/0.8085, allocations: 1.32 MB / 1.018 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004167/0.8126, allocations: 1.855 MB / 1.019 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.814, allocations: 0.8186 MB / 1.02 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.8162, allocations: 0.9925 MB / 1.021 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009008/0.8171, allocations: 0.6027 MB / 1.022 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.654e-05/0.8172, allocations: 44 kB / 1.022 GB, free: 10 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.8196, allocations: 0.9946 MB / 1.023 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.8199, allocations: 199.2 kB / 1.023 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.8202, allocations: 281 kB / 1.023 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.822, allocations: 1.596 MB / 1.025 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.8221, allocations: 0 / 1.025 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.009e-06/0.8221, allocations: 0 / 1.025 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.8221, allocations: 3.938 kB / 1.025 GB, free: 6.93 MB / 0.7794 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.002627/0.8247, allocations: 1.505 MB / 1.026 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8248, allocations: 8.031 kB / 1.026 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.8269, allocations: 473.9 kB / 1.027 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.8288, allocations: 1.051 MB / 1.028 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.8292, allocations: 125.9 kB / 1.028 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.8293, allocations: 88 kB / 1.028 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.8313, allocations: 1.017 MB / 1.029 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.8313, allocations: 3.938 kB / 1.029 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/0.8314, allocations: 32 kB / 1.029 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.8314, allocations: 20 kB / 1.029 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.8338, allocations: 0.9562 MB / 1.03 GB, free: 1.508 MB / 0.7794 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.006196/0.84, allocations: 4.934 MB / 1.035 GB, free: 12.22 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.8435, allocations: 0.9152 MB / 1.036 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.8441, allocations: 0.9025 MB / 1.037 GB, free: 10.19 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.8442, allocations: 38.56 kB / 1.037 GB, free: 10.14 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.084e-06/0.8442, allocations: 0 / 1.037 GB, free: 10.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.008715/0.8529, allocations: 2.209 MB / 1.039 GB, free: 7.906 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.8529, allocations: 63.34 kB / 1.039 GB, free: 7.832 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.8545, allocations: 1.071 MB / 1.04 GB, free: 6.746 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.8546, allocations: 37.7 kB / 1.04 GB, free: 6.703 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.855, allocations: 0.5313 MB / 1.04 GB, free: 6.168 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.8551, allocations: 141.9 kB / 1.041 GB, free: 6.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.8552, allocations: 12 kB / 1.041 GB, free: 6.016 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.8553, allocations: 326 kB / 1.041 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008945/0.8562, allocations: 340.9 kB / 1.041 GB, free: 5.355 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.8572, allocations: 0.5644 MB / 1.042 GB, free: 4.707 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.8582, allocations: 367.5 kB / 1.042 GB, free: 4.348 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8582, allocations: 3.938 kB / 1.042 GB, free: 4.344 MB / 0.795 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002685/0.8609, allocations: 1.086 MB / 1.043 GB, free: 3.246 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005343/0.8614, allocations: 1.664 MB / 1.045 GB, free: 1.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.8615, allocations: 4 kB / 1.045 GB, free: 1.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.8627, allocations: 338.2 kB / 1.045 GB, free: 1.125 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.8633, allocations: 139.8 kB / 1.045 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.8647, allocations: 0.9449 MB / 1.046 GB, free: 20 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8661, allocations: 207.2 kB / 1.046 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.202e-05/0.8662, allocations: 27.98 kB / 1.046 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.8662, allocations: 4 kB / 1.046 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002484/0.8687, allocations: 0.9487 MB / 1.047 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.8687, allocations: 4 kB / 1.047 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.8698, allocations: 321 kB / 1.048 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.8704, allocations: 143.8 kB / 1.048 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.8718, allocations: 0.9348 MB / 1.049 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.873, allocations: 183.2 kB / 1.049 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.8731, allocations: 31.98 kB / 1.049 GB, free: 13.2 MB / 0.8106 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 (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 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005818/0.8737, allocations: 349 kB / 1.049 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.8739, allocations: 110.7 kB / 1.049 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.8777, allocations: 1.25 MB / 1.051 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.8777, allocations: 12 kB / 1.051 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8777, allocations: 4 kB / 1.051 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.8777, allocations: 7.984 kB / 1.051 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/0.8829, allocations: 2.331 MB / 1.053 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.8829, allocations: 7.938 kB / 1.053 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.8833, allocations: 76.16 kB / 1.053 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.8843, allocations: 325.4 kB / 1.053 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.8843, allocations: 16 kB / 1.053 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.8857, allocations: 0.9728 MB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8858, allocations: 4.031 kB / 1.054 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.8895, allocations: 1.433 MB / 1.056 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006488/0.8901, allocations: 283.4 kB / 1.056 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.8903, allocations: 12 kB / 1.056 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/0.8912, allocations: 131.8 kB / 1.056 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.8913, allocations: 31.95 kB / 1.056 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/0.8914, allocations: 23.98 kB / 1.056 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001213/0.8926, allocations: 0.7549 MB / 1.057 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8926, allocations: 0 / 1.057 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00162/0.8942, allocations: 0.5692 MB / 1.057 GB, free: 4.27 MB / 0.8106 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 (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 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007202/0.895, allocations: 379 kB / 1.058 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003329/0.8983, allocations: 1.227 MB / 1.059 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8983, allocations: 0 / 1.059 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009595/0.8993, allocations: 398.2 kB / 1.059 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.9015, allocations: 0.4894 MB / 1.06 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.9068, allocations: 2.507 MB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.9074, allocations: 1.085 MB / 1.063 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009681/0.9084, allocations: 229.8 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.9086, allocations: 79.36 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.9086, allocations: 0 / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.03819/0.9468, allocations: 23.51 MB / 1.087 GB, free: 6.605 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches