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.0007925/0.0007924, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009446/0.0009446, allocations: 172.7 kB / 15.95 MB, free: 208 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.34 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.425/2.425, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 16 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.6835, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06935/0.7529, allocations: 69.47 MB / 1.022 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02018/0.7731, allocations: 14.17 MB / 1.036 GB, free: 11.69 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.7754, allocations: 59.62 kB / 1.036 GB, free: 11.63 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.7773, allocations: 0.5666 MB / 1.037 GB, free: 11.06 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006074/0.7834, allocations: 1.986 MB / 1.039 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.7865, allocations: 0.9783 MB / 1.04 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006411/0.7929, allocations: 4.812 MB / 1.044 GB, free: 3.273 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.795, allocations: 1.029 MB / 1.045 GB, free: 2.219 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.7982, allocations: 1.271 MB / 1.047 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.8, allocations: 1.073 MB / 1.048 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.8003, allocations: 60 kB / 1.048 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.8032, allocations: 0.9238 MB / 1.049 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.8035, allocations: 270.7 kB / 1.049 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007048/0.8043, allocations: 352.9 kB / 1.049 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.8071, allocations: 2.081 MB / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8071, allocations: 0 / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8071, allocations: 0 / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.8072, allocations: 4 kB / 1.051 GB, free: 12.17 MB / 0.8106 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.003274/0.8105, allocations: 1.799 MB / 1.053 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.8105, allocations: 8.031 kB / 1.053 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007207/0.8112, allocations: 237.9 kB / 1.053 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.8136, allocations: 1.443 MB / 1.055 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.8137, allocations: 78 kB / 1.055 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.8138, allocations: 100 kB / 1.055 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.8158, allocations: 1.116 MB / 1.056 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.8159, allocations: 0 / 1.056 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.139e-05/0.816, allocations: 39.95 kB / 1.056 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.816, allocations: 31.94 kB / 1.056 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.8179, allocations: 0.9251 MB / 1.057 GB, free: 6.246 MB / 0.8106 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.005797/0.8237, allocations: 4.912 MB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.8251, allocations: 0.6398 MB / 1.062 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.8259, allocations: 366.3 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.8265, allocations: 0.8316 MB / 1.063 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.8266, allocations: 43.08 kB / 1.063 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.365e-06/0.8266, allocations: 0 / 1.063 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.006637/0.8332, allocations: 1.892 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.8333, allocations: 55.97 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.8351, allocations: 1.202 MB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.8353, allocations: 37.7 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/0.8358, allocations: 0.6065 MB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.8361, allocations: 220.9 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.8361, allocations: 12 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8363, allocations: 330 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.837, allocations: 297.8 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/0.8378, allocations: 0.5062 MB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007104/0.8385, allocations: 355 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8385, allocations: 0 / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004309/0.8429, allocations: 1.398 MB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.843, allocations: 198.3 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.843, allocations: 11.97 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.8436, allocations: 144.8 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.8442, allocations: 163.8 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008078/0.8451, allocations: 0.7162 MB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.8463, allocations: 163.1 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.8464, allocations: 32 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.8464, allocations: 7.953 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003995/0.8504, allocations: 1.253 MB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.8504, allocations: 4.375 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004527/0.8509, allocations: 140.8 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.8515, allocations: 175.6 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007561/0.8522, allocations: 0.7086 MB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.8534, allocations: 161.1 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/0.8535, allocations: 39.94 kB / 1.074 GB, free: 3.91 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.0006273/0.8541, allocations: 420.8 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.8543, allocations: 134.4 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.8585, allocations: 1.393 MB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.8586, allocations: 8 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8586, allocations: 0 / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003708/0.8623, allocations: 1.244 MB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.8686, allocations: 2.731 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.8687, allocations: 4 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.8692, allocations: 124.2 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.8697, allocations: 144.7 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.8697, allocations: 19.98 kB / 1.08 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/0.8743, allocations: 2.486 MB / 1.082 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.8743, allocations: 4 kB / 1.082 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005108/0.8795, allocations: 1.848 MB / 1.084 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007758/0.8803, allocations: 339.1 kB / 1.085 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.8804, allocations: 19.98 kB / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008045/0.8812, allocations: 87.2 kB / 1.085 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.8814, allocations: 60.31 kB / 1.085 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.8814, allocations: 35.98 kB / 1.085 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001195/0.8826, allocations: 0.8545 MB / 1.086 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.633e-06/0.8826, allocations: 0 / 1.086 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001819/0.8845, allocations: 0.7095 MB / 1.086 GB, free: 6.863 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.0007693/0.8852, allocations: 437.5 kB / 1.087 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002586/0.8878, allocations: 1.16 MB / 1.088 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8879, allocations: 8.188 kB / 1.088 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.8893, allocations: 0.5915 MB / 1.088 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.8926, allocations: 0.7557 MB / 1.089 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.8966, allocations: 2.766 MB / 1.092 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000757/0.8973, allocations: 1.187 MB / 1.093 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001217/0.8986, allocations: 314.2 kB / 1.093 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.8988, allocations: 103.4 kB / 1.093 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of SimCode: time 1.042e-06/0.8988, allocations: 0 / 1.093 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.04771/0.9465, allocations: 29.41 MB / 1.122 GB, free: 2.402 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches