Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,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.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,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.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 99.86 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.001527/0.001527, 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.0004389/0.000439, allocations: 12 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6862, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05986/0.7461, allocations: 63.01 MB / 1.015 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.7649, allocations: 13.01 MB / 1.028 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.7677, allocations: 55.62 kB / 1.028 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002782/0.7706, allocations: 0.7462 MB / 1.029 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007566/0.7781, allocations: 2.403 MB / 1.031 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004665/0.7828, allocations: 1.517 MB / 1.032 GB, free: 15.25 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005006/0.7878, allocations: 2.526 MB / 1.035 GB, free: 12.72 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.7896, allocations: 1.045 MB / 1.036 GB, free: 11.65 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.7924, allocations: 1.168 MB / 1.037 GB, free: 10.48 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.7939, allocations: 0.7856 MB / 1.038 GB, free: 9.691 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.7942, allocations: 56 kB / 1.038 GB, free: 9.637 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.7967, allocations: 0.8347 MB / 1.039 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003482/0.7971, allocations: 266.9 kB / 1.039 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.7976, allocations: 356.9 kB / 1.039 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.8004, allocations: 2.011 MB / 1.041 GB, free: 6.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.8004, allocations: 0 / 1.041 GB, free: 6.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8004, allocations: 0 / 1.041 GB, free: 6.168 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.33e-05/0.8005, allocations: 0 / 1.041 GB, free: 6.168 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003497/0.804, allocations: 1.787 MB / 1.043 GB, free: 4.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.804, allocations: 8.031 kB / 1.043 GB, free: 4.309 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/0.8049, allocations: 241.9 kB / 1.043 GB, free: 4.07 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.8074, allocations: 1.373 MB / 1.045 GB, free: 2.641 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.8075, allocations: 85.98 kB / 1.045 GB, free: 2.559 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.8076, allocations: 100 kB / 1.045 GB, free: 2.461 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.8097, allocations: 1.104 MB / 1.046 GB, free: 1.32 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.8097, allocations: 7.938 kB / 1.046 GB, free: 1.312 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/0.8098, allocations: 43.95 kB / 1.046 GB, free: 1.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.8099, allocations: 24 kB / 1.046 GB, free: 1.246 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.8118, allocations: 0.9329 MB / 1.047 GB, free: 324 kB / 0.795 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.006247/0.818, allocations: 4.943 MB / 1.052 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.8195, allocations: 0.6369 MB / 1.052 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.8201, allocations: 0.8199 MB / 1.053 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.8202, allocations: 47.11 kB / 1.053 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.495e-06/0.8202, allocations: 4 kB / 1.053 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.007332/0.8275, allocations: 1.885 MB / 1.055 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.8276, allocations: 63.97 kB / 1.055 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.8293, allocations: 1.245 MB / 1.056 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.8295, allocations: 37.7 kB / 1.056 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/0.83, allocations: 0.6065 MB / 1.057 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.8302, allocations: 212.9 kB / 1.057 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.8303, allocations: 16 kB / 1.057 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8304, allocations: 334 kB / 1.057 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/0.8311, allocations: 293.8 kB / 1.058 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/0.8319, allocations: 0.5085 MB / 1.058 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.8327, allocations: 359 kB / 1.058 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8327, allocations: 0 / 1.058 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004801/0.8375, allocations: 1.398 MB / 1.06 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007164/0.8382, allocations: 1.423 MB / 1.061 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.8383, allocations: 3.938 kB / 1.061 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.8389, allocations: 156.7 kB / 1.061 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.8395, allocations: 159.8 kB / 1.062 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008455/0.8404, allocations: 0.7239 MB / 1.062 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.8417, allocations: 171 kB / 1.062 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.8418, allocations: 35.98 kB / 1.062 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.8418, allocations: 4 kB / 1.062 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004372/0.8462, allocations: 1.245 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8462, allocations: 7.984 kB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/0.8467, allocations: 145.1 kB / 1.064 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.8473, allocations: 163.8 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008608/0.8482, allocations: 0.72 MB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.8495, allocations: 163.1 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.8496, allocations: 31.98 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006709/0.8502, allocations: 421 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.8505, allocations: 134.3 kB / 1.065 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/0.8551, allocations: 1.393 MB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.8552, allocations: 15.95 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.8552, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004058/0.8592, allocations: 1.236 MB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006956/0.8662, allocations: 2.762 MB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.8663, allocations: 4 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.8668, allocations: 120.3 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/0.8672, allocations: 148.6 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.363e-05/0.8673, allocations: 19.98 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00487/0.8722, allocations: 2.541 MB / 1.073 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.8722, allocations: 7.938 kB / 1.073 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005581/0.8778, allocations: 2.062 MB / 1.075 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.8785, allocations: 343.1 kB / 1.076 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.8787, allocations: 12 kB / 1.076 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008641/0.8795, allocations: 99.91 kB / 1.076 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.8797, allocations: 64.19 kB / 1.076 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.8797, allocations: 27.98 kB / 1.076 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001283/0.881, allocations: 0.9013 MB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.881, allocations: 0 / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001912/0.883, allocations: 0.7213 MB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008261/0.8838, allocations: 458.7 kB / 1.078 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.8863, allocations: 1.164 MB / 1.079 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8864, allocations: 0 / 1.079 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.8878, allocations: 0.5956 MB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/0.8911, allocations: 0.7456 MB / 1.08 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.8952, allocations: 2.762 MB / 1.083 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.896, allocations: 1.206 MB / 1.084 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001244/0.8972, allocations: 307 kB / 1.085 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.8975, allocations: 111.3 kB / 1.085 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.8975, allocations: 0 / 1.085 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of Templates: time 0.05013/0.9477, allocations: 30.08 MB / 1.114 GB, free: 10.28 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches