Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_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_y_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.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_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_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.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_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008466/0.0008463, allocations: 95.62 kB / 15.05 MB, free: 1.113 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.000971/0.0009712, allocations: 181.3 kB / 15.95 MB, free: 220 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.313/1.313, allocations: 223.2 MB / 239.9 MB, free: 5.289 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.381/2.381, allocations: 390.3 MB / 0.6653 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003945, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6683/0.6687, allocations: 142.3 MB / 0.9535 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.08079/0.7496, allocations: 63.02 MB / 1.015 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02755/0.7772, allocations: 12.99 MB / 1.028 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.7803, allocations: 59.62 kB / 1.028 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.7847, allocations: 0.7423 MB / 1.029 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01539/0.8001, allocations: 2.408 MB / 1.031 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006663/0.8068, allocations: 1.521 MB / 1.032 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006651/0.8135, allocations: 2.519 MB / 1.035 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.8159, allocations: 1.049 MB / 1.036 GB, free: 11.63 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.8193, allocations: 1.172 MB / 1.037 GB, free: 10.46 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.8212, allocations: 0.7856 MB / 1.038 GB, free: 9.668 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.8215, allocations: 56 kB / 1.038 GB, free: 9.613 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.8248, allocations: 0.8542 MB / 1.039 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.8252, allocations: 266.9 kB / 1.039 GB, free: 8.496 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006346/0.8258, allocations: 360.9 kB / 1.039 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003478/0.8293, allocations: 2.018 MB / 1.041 GB, free: 6.113 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8294, allocations: 0 / 1.041 GB, free: 6.113 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8294, allocations: 0 / 1.041 GB, free: 6.113 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.708e-05/0.8294, allocations: 4 kB / 1.041 GB, free: 6.109 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.005104/0.8345, allocations: 1.783 MB / 1.043 GB, free: 4.262 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8346, allocations: 12.03 kB / 1.043 GB, free: 4.25 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.8359, allocations: 241.8 kB / 1.043 GB, free: 4.012 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002999/0.8389, allocations: 1.396 MB / 1.045 GB, free: 2.559 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.839, allocations: 73.98 kB / 1.045 GB, free: 2.488 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.8392, allocations: 107.9 kB / 1.045 GB, free: 2.383 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.8411, allocations: 1.108 MB / 1.046 GB, free: 1.238 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.8412, allocations: 0 / 1.046 GB, free: 1.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.8412, allocations: 43.95 kB / 1.046 GB, free: 1.195 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.024e-05/0.8413, allocations: 27.94 kB / 1.046 GB, free: 1.168 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.8432, allocations: 0.929 MB / 1.047 GB, free: 248 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.00583/0.849, allocations: 4.962 MB / 1.052 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.8505, allocations: 0.6486 MB / 1.052 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/0.8512, allocations: 0.8277 MB / 1.053 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.8512, allocations: 43.12 kB / 1.053 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=62): time 2.365e-06/0.8512, allocations: 0 / 1.053 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=62): time 0.004895/0.8561, allocations: 1.507 MB / 1.055 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.8562, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.8578, allocations: 1.257 MB / 1.056 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.8579, allocations: 41.7 kB / 1.056 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.8584, allocations: 0.6066 MB / 1.057 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.8587, allocations: 212.9 kB / 1.057 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.8587, allocations: 16 kB / 1.057 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8588, allocations: 334 kB / 1.057 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.8596, allocations: 293.8 kB / 1.057 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008388/0.8604, allocations: 0.496 MB / 1.058 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/0.8612, allocations: 370.9 kB / 1.058 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8612, allocations: 0 / 1.058 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004901/0.8661, allocations: 1.394 MB / 1.06 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007232/0.8669, allocations: 1.335 MB / 1.061 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.8669, allocations: 4 kB / 1.061 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009268/0.8678, allocations: 156.7 kB / 1.061 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.8685, allocations: 167.8 kB / 1.061 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009309/0.8695, allocations: 0.7285 MB / 1.062 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.871, allocations: 167 kB / 1.062 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.871, allocations: 35.98 kB / 1.062 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.8711, allocations: 4 kB / 1.062 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004431/0.8755, allocations: 1.242 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8755, allocations: 7.984 kB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.8762, allocations: 161 kB / 1.063 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.8768, allocations: 167.8 kB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008417/0.8776, allocations: 0.7278 MB / 1.064 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.879, allocations: 165.3 kB / 1.064 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.8791, allocations: 31.98 kB / 1.064 GB, free: 13.32 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009285/0.88, allocations: 420.9 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.8803, allocations: 134.4 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/0.885, allocations: 1.392 MB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.885, allocations: 11.98 kB / 1.066 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8851, allocations: 3.953 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004119/0.8892, allocations: 1.217 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/0.8937, allocations: 2.372 MB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.8937, allocations: 7.984 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.8942, allocations: 128.2 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006097/0.8949, allocations: 152.7 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.8949, allocations: 19.98 kB / 1.07 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008236/0.8958, allocations: 0.7167 MB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8958, allocations: 4 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/0.8988, allocations: 1.66 MB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/0.8996, allocations: 351 kB / 1.073 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.8998, allocations: 27.94 kB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.9007, allocations: 91.67 kB / 1.073 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.9008, allocations: 56.3 kB / 1.073 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.9009, allocations: 27.98 kB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001372/0.9023, allocations: 0.9052 MB / 1.074 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9023, allocations: 0 / 1.074 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001846/0.9041, allocations: 0.7174 MB / 1.075 GB, free: 2.492 MB / 0.8262 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008708/0.905, allocations: 454.8 kB / 1.075 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0027/0.9077, allocations: 1.172 MB / 1.076 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9077, allocations: 0 / 1.076 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009587/0.9087, allocations: 415.2 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/0.9123, allocations: 0.7538 MB / 1.077 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.9165, allocations: 2.768 MB / 1.08 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.9173, allocations: 1.199 MB / 1.081 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001415/0.9187, allocations: 311 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.919, allocations: 107.4 kB / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of SimCode: time 5.91e-07/0.919, allocations: 0 / 1.082 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.04922/0.9682, allocations: 29.94 MB / 1.111 GB, free: 13.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches