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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009184/0.0009186, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.007603/0.007603, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 11.98 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6381/0.6385, allocations: 142.4 MB / 0.955 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07227/0.7108, allocations: 73.5 MB / 1.027 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02084/0.7317, allocations: 15.04 MB / 1.042 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.7346, allocations: 55.62 kB / 1.042 GB, free: 6.457 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.7372, allocations: 0.6682 MB / 1.042 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006964/0.7442, allocations: 2.395 MB / 1.045 GB, free: 3.383 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.7476, allocations: 1.268 MB / 1.046 GB, free: 2.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006542/0.7541, allocations: 5.566 MB / 1.051 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.7563, allocations: 1.163 MB / 1.052 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.7592, allocations: 1.318 MB / 1.054 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.7614, allocations: 1.151 MB / 1.055 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.7618, allocations: 56 kB / 1.055 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.7651, allocations: 1.239 MB / 1.056 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.7657, allocations: 286.6 kB / 1.056 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.7672, allocations: 0.7944 MB / 1.057 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.7715, allocations: 2.722 MB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7715, allocations: 0 / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7715, allocations: 0 / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.61e-05/0.7716, allocations: 0 / 1.06 GB, free: 3.754 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.003416/0.775, allocations: 1.772 MB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.775, allocations: 8.031 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.7758, allocations: 254.7 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.7782, allocations: 1.489 MB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.7783, allocations: 77.98 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.7784, allocations: 100 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.7805, allocations: 1.124 MB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.7805, allocations: 3.906 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.463e-05/0.7806, allocations: 43.98 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.7807, allocations: 28 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.7827, allocations: 0.929 MB / 1.065 GB, free: 13.78 MB / 0.8262 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.005665/0.7883, allocations: 4.915 MB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.7898, allocations: 0.6355 MB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/0.7906, allocations: 370.3 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006195/0.7912, allocations: 0.8238 MB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.7913, allocations: 43.11 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.094e-06/0.7913, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.008011/0.7993, allocations: 1.892 MB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.7994, allocations: 71.89 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.8013, allocations: 1.214 MB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.195e-05/0.8014, allocations: 37.7 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.802, allocations: 0.6143 MB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.8022, allocations: 205 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.8023, allocations: 69.67 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8024, allocations: 333.9 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/0.8031, allocations: 301.8 kB / 1.077 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.8042, allocations: 0.5138 MB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.8057, allocations: 0.7558 MB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.8057, allocations: 4 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005118/0.8109, allocations: 1.398 MB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.8111, allocations: 202.2 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.8111, allocations: 4 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/0.8118, allocations: 144.7 kB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006378/0.8124, allocations: 167.7 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009192/0.8134, allocations: 0.7201 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.8146, allocations: 167 kB / 1.081 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.8146, allocations: 35.98 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.8147, allocations: 8 kB / 1.081 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005045/0.8197, allocations: 1.249 MB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.8197, allocations: 8 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.8203, allocations: 153 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.8209, allocations: 163.7 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009007/0.8218, allocations: 0.7163 MB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.8231, allocations: 155.9 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.777e-05/0.8232, allocations: 31.98 kB / 1.083 GB, free: 10.88 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007331/0.8239, allocations: 421.4 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.8241, allocations: 138.4 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/0.8293, allocations: 1.4 MB / 1.085 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.8293, allocations: 12 kB / 1.085 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8294, allocations: 0 / 1.085 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004689/0.8341, allocations: 1.236 MB / 1.086 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/0.8413, allocations: 2.75 MB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.8414, allocations: 4 kB / 1.089 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.8419, allocations: 120.3 kB / 1.089 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005146/0.8424, allocations: 132.8 kB / 1.089 GB, free: 4.508 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.8425, allocations: 19.98 kB / 1.089 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005218/0.8477, allocations: 2.474 MB / 1.092 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.8477, allocations: 11.92 kB / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006185/0.8539, allocations: 1.844 MB / 1.093 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/0.8547, allocations: 346.9 kB / 1.094 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.8549, allocations: 15.98 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/0.8558, allocations: 96.12 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.856, allocations: 56.25 kB / 1.094 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/0.8561, allocations: 39.97 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001444/0.8575, allocations: 0.8662 MB / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8575, allocations: 0 / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002033/0.8596, allocations: 0.7135 MB / 1.095 GB, free: 13.8 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.8607, allocations: 454.4 kB / 1.096 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002788/0.8635, allocations: 1.161 MB / 1.097 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8635, allocations: 4 kB / 1.097 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.8651, allocations: 0.5955 MB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004659/0.8698, allocations: 0.8038 MB / 1.098 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.8741, allocations: 2.811 MB / 1.101 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.8748, allocations: 1.191 MB / 1.102 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001306/0.8762, allocations: 302.9 kB / 1.103 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.8765, allocations: 111.4 kB / 1.103 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of SimCode: time 8.12e-07/0.8765, allocations: 0 / 1.103 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of Templates: time 0.05368/0.9302, allocations: 31.96 MB / 1.134 GB, free: 6.691 MB / 0.8887 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