Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001241/0.001241, allocations: 100.5 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.00137/0.00137, 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.35/1.35, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.557/2.557, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 15.94 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5794/0.5798, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05812/0.6379, allocations: 63.02 MB / 1.082 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.6559, allocations: 13.01 MB / 1.095 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.6578, allocations: 55.62 kB / 1.095 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.6601, allocations: 0.7462 MB / 1.096 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006727/0.6669, allocations: 2.403 MB / 1.098 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/0.6711, allocations: 1.528 MB / 1.1 GB, free: 192 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004497/0.6756, allocations: 2.514 MB / 1.102 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.6773, allocations: 1.045 MB / 1.103 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.6797, allocations: 1.16 MB / 1.104 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.681, allocations: 0.7856 MB / 1.105 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.6812, allocations: 56 kB / 1.105 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.6834, allocations: 0.8425 MB / 1.106 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.6837, allocations: 266.9 kB / 1.106 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.6841, allocations: 352.9 kB / 1.107 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00234/0.6864, allocations: 2.015 MB / 1.108 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6864, allocations: 0 / 1.108 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6864, allocations: 0 / 1.108 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.365e-05/0.6865, allocations: 0 / 1.108 GB, free: 7.109 MB / 0.8575 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.003451/0.6899, allocations: 1.783 MB / 1.11 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.69, allocations: 15.98 kB / 1.11 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.6908, allocations: 241.8 kB / 1.11 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.6932, allocations: 1.377 MB / 1.112 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.6933, allocations: 82 kB / 1.112 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.6935, allocations: 100 kB / 1.112 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.6956, allocations: 1.104 MB / 1.113 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.6956, allocations: 3.938 kB / 1.113 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.6957, allocations: 48 kB / 1.113 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.6958, allocations: 24 kB / 1.113 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.6977, allocations: 0.9212 MB / 1.114 GB, free: 1.266 MB / 0.8575 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.006058/0.7037, allocations: 4.954 MB / 1.119 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.7052, allocations: 0.6353 MB / 1.119 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006368/0.7058, allocations: 0.8277 MB / 1.12 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.7059, allocations: 35.12 kB / 1.12 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 3.136e-06/0.7059, allocations: 4 kB / 1.12 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.007238/0.7131, allocations: 1.881 MB / 1.122 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.7132, allocations: 63.97 kB / 1.122 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.7148, allocations: 1.249 MB / 1.123 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.715, allocations: 45.7 kB / 1.124 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.7155, allocations: 0.6026 MB / 1.124 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.7157, allocations: 212.9 kB / 1.124 GB, free: 6.207 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.7158, allocations: 19.94 kB / 1.124 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.7159, allocations: 337.9 kB / 1.125 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.7165, allocations: 293.8 kB / 1.125 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/0.7174, allocations: 0.5007 MB / 1.125 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007523/0.7181, allocations: 363 kB / 1.126 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.7181, allocations: 0 / 1.126 GB, free: 4.633 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004685/0.7228, allocations: 1.398 MB / 1.127 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004677/0.7233, allocations: 1.419 MB / 1.129 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.7233, allocations: 4 kB / 1.129 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005725/0.7239, allocations: 144.7 kB / 1.129 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006258/0.7245, allocations: 167.8 kB / 1.129 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000809/0.7254, allocations: 0.72 MB / 1.13 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.7266, allocations: 167 kB / 1.13 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.7266, allocations: 31.98 kB / 1.13 GB, free: 476 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.7266, allocations: 4 kB / 1.13 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004386/0.7311, allocations: 1.253 MB / 1.131 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7311, allocations: 4 kB / 1.131 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.7316, allocations: 149.1 kB / 1.131 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.7322, allocations: 163.8 kB / 1.131 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007562/0.7329, allocations: 0.7123 MB / 1.132 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.7341, allocations: 163.1 kB / 1.132 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.7341, allocations: 31.98 kB / 1.132 GB, free: 13.96 MB / 0.8887 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.0005783/0.7347, allocations: 424.9 kB / 1.133 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.735, allocations: 130.4 kB / 1.133 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.7396, allocations: 1.4 MB / 1.134 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.7397, allocations: 11.98 kB / 1.134 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7397, allocations: 3.938 kB / 1.134 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004172/0.7438, allocations: 1.232 MB / 1.135 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006583/0.7504, allocations: 2.758 MB / 1.138 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.7505, allocations: 7.953 kB / 1.138 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.751, allocations: 128.3 kB / 1.138 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.7515, allocations: 144.6 kB / 1.138 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.7515, allocations: 19.98 kB / 1.138 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00497/0.7565, allocations: 2.54 MB / 1.141 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.7565, allocations: 4 kB / 1.141 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005577/0.7621, allocations: 2.058 MB / 1.143 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/0.7628, allocations: 343 kB / 1.143 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.763, allocations: 23.94 kB / 1.143 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.764, allocations: 91.88 kB / 1.143 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.7641, allocations: 56.31 kB / 1.143 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.458e-05/0.7642, allocations: 35.97 kB / 1.143 GB, free: 2 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001269/0.7655, allocations: 0.8935 MB / 1.144 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3e-07/0.7655, allocations: 4 kB / 1.144 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001919/0.7674, allocations: 0.7213 MB / 1.145 GB, free: 388 kB / 0.8887 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.000861/0.7683, allocations: 470.7 kB / 1.145 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002641/0.7709, allocations: 1.16 MB / 1.146 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7709, allocations: 0 / 1.146 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.7725, allocations: 0.5995 MB / 1.147 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/0.7762, allocations: 0.7373 MB / 1.148 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.7807, allocations: 2.766 MB / 1.15 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/0.7816, allocations: 1.206 MB / 1.152 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001434/0.783, allocations: 303 kB / 1.152 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.7833, allocations: 107.3 kB / 1.152 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/0.7833, allocations: 0 / 1.152 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of Templates: time 0.04507/0.8284, allocations: 30.09 MB / 1.181 GB, free: 11.22 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches