Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.406/2.406, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 183.6 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008231/0.0008231, allocations: 95.56 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.45e-05/1.453e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.288, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.581, allocations: 430.7 MB / 1.633 GB, free: 0.6367 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.582, allocations: 91.61 kB / 1.633 GB, free: 0.5938 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.503/5.085, allocations: 0.8716 GB / 2.505 GB, free: 125.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.633e-06/5.085, allocations: 2.969 kB / 2.505 GB, free: 125.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002597/5.086, allocations: 39.52 kB / 2.505 GB, free: 125.9 MB / 1.151 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.005192/5.091, allocations: 1.734 MB / 2.506 GB, free: 124.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/5.091, allocations: 8.031 kB / 2.506 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/5.092, allocations: 237.8 kB / 2.507 GB, free: 123.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/5.097, allocations: 1.702 MB / 2.508 GB, free: 122.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.249e-05/5.097, allocations: 32 kB / 2.508 GB, free: 122.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/5.097, allocations: 70.48 kB / 2.508 GB, free: 122.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001581/5.099, allocations: 0.7069 MB / 2.509 GB, free: 121.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/5.1, allocations: 0.8807 MB / 2.51 GB, free: 120.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/5.1, allocations: 0 / 2.51 GB, free: 120.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.509e-05/5.1, allocations: 0 / 2.51 GB, free: 120.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/5.1, allocations: 38 kB / 2.51 GB, free: 120.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005529/5.106, allocations: 4.522 MB / 2.514 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/5.107, allocations: 0.5084 MB / 2.515 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/5.107, allocations: 252.5 kB / 2.515 GB, free: 115 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/5.108, allocations: 0.8305 MB / 2.516 GB, free: 114 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/5.108, allocations: 47.06 kB / 2.516 GB, free: 113.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 1.944e-06/5.108, allocations: 0 / 2.516 GB, free: 113.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.003858/5.112, allocations: 1.013 MB / 2.517 GB, free: 112.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/5.112, allocations: 59.97 kB / 2.517 GB, free: 112.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/5.113, allocations: 0.8873 MB / 2.518 GB, free: 111.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/5.113, allocations: 29.7 kB / 2.518 GB, free: 111.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/5.113, allocations: 0.6288 MB / 2.519 GB, free: 111.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/5.113, allocations: 197 kB / 2.519 GB, free: 111.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/5.113, allocations: 0 / 2.519 GB, free: 111.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/5.113, allocations: 334 kB / 2.519 GB, free: 110.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/5.114, allocations: 189.5 kB / 2.519 GB, free: 110.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/5.114, allocations: 428.6 kB / 2.52 GB, free: 110 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/5.115, allocations: 270 kB / 2.52 GB, free: 109.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/5.115, allocations: 0 / 2.52 GB, free: 109.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00387/5.119, allocations: 1.138 MB / 2.521 GB, free: 108.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/5.119, allocations: 1.33 MB / 2.522 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/5.119, allocations: 4 kB / 2.522 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004432/5.119, allocations: 120.8 kB / 2.522 GB, free: 107.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/5.12, allocations: 159.8 kB / 2.523 GB, free: 106.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005858/5.121, allocations: 0.7006 MB / 2.523 GB, free: 106.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/5.122, allocations: 127.2 kB / 2.523 GB, free: 106.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-05/5.122, allocations: 35.98 kB / 2.523 GB, free: 106 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/5.122, allocations: 7.938 kB / 2.523 GB, free: 106 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003628/5.126, allocations: 0.9818 MB / 2.524 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/5.126, allocations: 0 / 2.524 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/5.126, allocations: 129 kB / 2.524 GB, free: 104.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/5.127, allocations: 155.8 kB / 2.525 GB, free: 104.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005133/5.127, allocations: 0.6968 MB / 2.525 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/5.128, allocations: 103.5 kB / 2.525 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/5.128, allocations: 35.94 kB / 2.525 GB, free: 103.9 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.yPL:VARIABLE(min = 0.0 unit = "1" ) "Part load ratio" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0002806/5.129, allocations: 134.6 kB / 2.526 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/5.129, allocations: 122.5 kB / 2.526 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/5.133, allocations: 1.121 MB / 2.527 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/5.133, allocations: 8 kB / 2.527 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/5.133, allocations: 0 / 2.527 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003515/5.137, allocations: 1.048 MB / 2.528 GB, free: 101.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006465/5.143, allocations: 2.336 MB / 2.53 GB, free: 99.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/5.143, allocations: 8.016 kB / 2.53 GB, free: 99 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/5.144, allocations: 123.8 kB / 2.53 GB, free: 98.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003674/5.144, allocations: 123.9 kB / 2.53 GB, free: 98.76 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/5.144, allocations: 15.94 kB / 2.53 GB, free: 98.74 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005082/5.145, allocations: 0.6928 MB / 2.531 GB, free: 98.02 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/5.145, allocations: 0 / 2.531 GB, free: 98.02 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004464/5.149, allocations: 1.71 MB / 2.533 GB, free: 96.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009089/5.15, allocations: 311.3 kB / 2.533 GB, free: 95.88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/5.151, allocations: 7.984 kB / 2.533 GB, free: 95.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/5.152, allocations: 67.84 kB / 2.533 GB, free: 95.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/5.152, allocations: 56.27 kB / 2.533 GB, free: 95.75 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.578e-05/5.152, allocations: 27.98 kB / 2.533 GB, free: 95.72 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001349/5.153, allocations: 0.6815 MB / 2.534 GB, free: 95.03 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.21e-07/5.153, allocations: 0 / 2.534 GB, free: 95.03 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003281/5.157, allocations: 0.7754 MB / 2.535 GB, free: 94.25 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete 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.001806/5.159, allocations: 0.7913 MB / 2.535 GB, free: 93.55 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001901/5.16, allocations: 0.9057 MB / 2.536 GB, free: 92.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/5.16, allocations: 0 / 2.536 GB, free: 92.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005721/5.161, allocations: 322.5 kB / 2.537 GB, free: 92.33 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/5.164, allocations: 0.5526 MB / 2.537 GB, free: 91.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/5.168, allocations: 1.709 MB / 2.539 GB, free: 90.03 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/5.169, allocations: 1.201 MB / 2.54 GB, free: 88.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001904/5.171, allocations: 334.6 kB / 2.54 GB, free: 88.49 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/5.171, allocations: 75.42 kB / 2.54 GB, free: 88.42 MB / 1.151 GB Notification: Performance of SimCode: time 1.322e-06/5.171, allocations: 0 / 2.54 GB, free: 88.42 MB / 1.151 GB Notification: Performance of Templates: time 0.04709/5.219, allocations: 27.72 MB / 2.567 GB, free: 61.07 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches