Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001253/0.001253, allocations: 97.91 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.001643/0.001644, allocations: 177.3 kB / 15.94 MB, free: 228 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.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.426 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.31/2.31, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6988/0.6992, allocations: 142.3 MB / 0.9535 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05111/0.7504, allocations: 51.36 MB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.7662, allocations: 10.31 MB / 1.014 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.7682, allocations: 51.62 kB / 1.014 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.7703, allocations: 0.6296 MB / 1.014 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.7761, allocations: 1.936 MB / 1.016 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00469/0.7808, allocations: 1.32 MB / 1.018 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004783/0.7856, allocations: 1.851 MB / 1.019 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.787, allocations: 0.8057 MB / 1.02 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.789, allocations: 0.9808 MB / 1.021 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009407/0.7899, allocations: 0.6066 MB / 1.022 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.7901, allocations: 40 kB / 1.022 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.7924, allocations: 0.9985 MB / 1.023 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.7926, allocations: 199.1 kB / 1.023 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.793, allocations: 285 kB / 1.023 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.7952, allocations: 1.584 MB / 1.025 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.7952, allocations: 0 / 1.025 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7952, allocations: 3.938 kB / 1.025 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.7952, allocations: 4 kB / 1.025 GB, free: 7.051 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002735/0.798, allocations: 1.485 MB / 1.026 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.798, allocations: 8.031 kB / 1.026 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.8002, allocations: 469.9 kB / 1.027 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.8022, allocations: 1.055 MB / 1.028 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.8026, allocations: 129.9 kB / 1.028 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.8027, allocations: 84 kB / 1.028 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.8046, allocations: 0.9934 MB / 1.029 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.8047, allocations: 0 / 1.029 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/0.8048, allocations: 36 kB / 1.029 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.8048, allocations: 20 kB / 1.029 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.8072, allocations: 0.9211 MB / 1.03 GB, free: 1.707 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.006732/0.8139, allocations: 4.92 MB / 1.035 GB, free: 12.44 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003381/0.8173, allocations: 0.9156 MB / 1.036 GB, free: 11.52 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000631/0.818, allocations: 0.9025 MB / 1.036 GB, free: 10.41 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.818, allocations: 38.56 kB / 1.036 GB, free: 10.36 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.324e-06/0.818, allocations: 0 / 1.036 GB, free: 10.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.008597/0.8266, allocations: 2.162 MB / 1.039 GB, free: 8.172 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.8267, allocations: 55.41 kB / 1.039 GB, free: 8.105 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.8284, allocations: 1.059 MB / 1.04 GB, free: 7.031 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.973e-05/0.8284, allocations: 37.7 kB / 1.04 GB, free: 6.988 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.8289, allocations: 0.5235 MB / 1.04 GB, free: 6.461 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.829, allocations: 157.8 kB / 1.04 GB, free: 6.305 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.8291, allocations: 12 kB / 1.04 GB, free: 6.293 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8292, allocations: 326 kB / 1.041 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.8301, allocations: 320.9 kB / 1.041 GB, free: 5.656 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.8311, allocations: 0.5379 MB / 1.041 GB, free: 5.039 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.832, allocations: 347.5 kB / 1.042 GB, free: 4.699 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.832, allocations: 0 / 1.042 GB, free: 4.699 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002692/0.8347, allocations: 1.039 MB / 1.043 GB, free: 3.648 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006145/0.8354, allocations: 1.581 MB / 1.044 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8354, allocations: 8 kB / 1.044 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.8367, allocations: 336.6 kB / 1.045 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.8373, allocations: 127.8 kB / 1.045 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.8387, allocations: 0.937 MB / 1.046 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.84, allocations: 199.2 kB / 1.046 GB, free: 340 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.8401, allocations: 35.86 kB / 1.046 GB, free: 304 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.8401, allocations: 4 kB / 1.046 GB, free: 300 kB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002387/0.8425, allocations: 0.9104 MB / 1.047 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.8425, allocations: 8.031 kB / 1.047 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.8436, allocations: 324.7 kB / 1.047 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.8441, allocations: 131.8 kB / 1.047 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.8455, allocations: 0.9335 MB / 1.048 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8467, allocations: 175.3 kB / 1.048 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.8467, allocations: 27.98 kB / 1.048 GB, free: 13.76 MB / 0.8106 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 (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.0005288/0.8473, allocations: 352.9 kB / 1.049 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.8474, allocations: 110.6 kB / 1.049 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.8512, allocations: 1.205 MB / 1.05 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.8512, allocations: 7.984 kB / 1.05 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8512, allocations: 7.953 kB / 1.05 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.8513, allocations: 0 / 1.05 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.8564, allocations: 2.3 MB / 1.052 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.8564, allocations: 4 kB / 1.052 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.8567, allocations: 72.17 kB / 1.052 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001087/0.8578, allocations: 328.6 kB / 1.053 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.8579, allocations: 15.98 kB / 1.053 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.8593, allocations: 0.9676 MB / 1.054 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8593, allocations: 4 kB / 1.054 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.863, allocations: 1.393 MB / 1.055 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.8635, allocations: 283.5 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.8637, allocations: 23.94 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/0.8646, allocations: 115.7 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.8647, allocations: 43.73 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.8647, allocations: 23.98 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001183/0.8659, allocations: 0.7467 MB / 1.056 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8659, allocations: 7.938 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001508/0.8675, allocations: 0.5575 MB / 1.057 GB, free: 4.957 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.0007139/0.8682, allocations: 390.9 kB / 1.057 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003047/0.8712, allocations: 1.173 MB / 1.058 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.8713, allocations: 0 / 1.058 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.8721, allocations: 378.3 kB / 1.059 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/0.8745, allocations: 0.5002 MB / 1.059 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.8799, allocations: 2.479 MB / 1.062 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.8805, allocations: 1.089 MB / 1.063 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009466/0.8815, allocations: 222.2 kB / 1.063 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.8817, allocations: 79.42 kB / 1.063 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of SimCode: time 1.082e-06/0.8817, allocations: 0 / 1.063 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.03768/0.9194, allocations: 23.47 MB / 1.086 GB, free: 7.395 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches