Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.36/2.36, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001113/0.001113, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0008962/0.0008961, allocations: 95.94 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.071e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2984, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.512, allocations: 425.6 MB / 1.634 GB, free: 8.875 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/1.512, allocations: 87.95 kB / 1.634 GB, free: 8.789 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.803/4.315, allocations: 0.5438 GB / 2.178 GB, free: 245.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.573e-06/4.315, allocations: 0 / 2.178 GB, free: 245.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002958/4.316, allocations: 40.88 kB / 2.178 GB, free: 245.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.00622/4.322, allocations: 1.709 MB / 2.18 GB, free: 245.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/4.322, allocations: 14.83 kB / 2.18 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/4.323, allocations: 237.6 kB / 2.18 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0052/4.329, allocations: 1.706 MB / 2.182 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/4.329, allocations: 75.11 kB / 2.182 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003812/4.329, allocations: 107.1 kB / 2.182 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/4.332, allocations: 1.009 MB / 2.183 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/4.332, allocations: 3.938 kB / 2.183 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/4.332, allocations: 45.64 kB / 2.183 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.949e-05/4.332, allocations: 42.08 kB / 2.183 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/4.334, allocations: 0.7479 MB / 2.184 GB, free: 244.9 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.008043/4.342, allocations: 4.736 MB / 2.188 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/4.343, allocations: 0.5131 MB / 2.189 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004751/4.344, allocations: 272.6 kB / 2.189 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005671/4.344, allocations: 0.824 MB / 2.19 GB, free: 242.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/4.344, allocations: 41.39 kB / 2.19 GB, free: 242 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.855e-06/4.344, allocations: 0 / 2.19 GB, free: 242 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.004428/4.349, allocations: 1.034 MB / 2.191 GB, free: 241.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/4.349, allocations: 58.09 kB / 2.191 GB, free: 241.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/4.351, allocations: 1.104 MB / 2.192 GB, free: 241.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/4.352, allocations: 38.83 kB / 2.192 GB, free: 241.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006116/4.352, allocations: 0.6212 MB / 2.193 GB, free: 241.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/4.352, allocations: 202.2 kB / 2.193 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/4.353, allocations: 11.94 kB / 2.193 GB, free: 241.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.418e-05/4.353, allocations: 337.7 kB / 2.193 GB, free: 241.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/4.353, allocations: 200.1 kB / 2.194 GB, free: 241.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/4.354, allocations: 433.1 kB / 2.194 GB, free: 240.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/4.354, allocations: 278.9 kB / 2.194 GB, free: 240.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/4.354, allocations: 0 / 2.194 GB, free: 240.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004523/4.359, allocations: 1.18 MB / 2.195 GB, free: 240.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003593/4.359, allocations: 1.423 MB / 2.197 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/4.359, allocations: 4.25 kB / 2.197 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004887/4.36, allocations: 108.6 kB / 2.197 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/4.36, allocations: 163.2 kB / 2.197 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005526/4.361, allocations: 0.6624 MB / 2.198 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/4.363, allocations: 162.5 kB / 2.198 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/4.363, allocations: 38.11 kB / 2.198 GB, free: 238.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/4.363, allocations: 4.312 kB / 2.198 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003983/4.367, allocations: 1.025 MB / 2.199 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/4.367, allocations: 8.469 kB / 2.199 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/4.367, allocations: 109.5 kB / 2.199 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006526/4.368, allocations: 158.3 kB / 2.199 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000516/4.368, allocations: 0.6547 MB / 2.2 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/4.37, allocations: 142.9 kB / 2.2 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/4.37, allocations: 31.8 kB / 2.2 GB, free: 238.1 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002791/4.37, allocations: 152.4 kB / 2.2 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005247/4.371, allocations: 143.1 kB / 2.2 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/4.375, allocations: 1.162 MB / 2.201 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/4.375, allocations: 5.688 kB / 2.201 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/4.375, allocations: 1.344 kB / 2.201 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003734/4.379, allocations: 1.06 MB / 2.202 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007403/4.387, allocations: 2.506 MB / 2.205 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/4.387, allocations: 2.062 kB / 2.205 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/4.387, allocations: 124.6 kB / 2.205 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/4.388, allocations: 100.2 kB / 2.205 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/4.388, allocations: 21.36 kB / 2.205 GB, free: 237.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/4.391, allocations: 2.197 MB / 2.207 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/4.391, allocations: 5.781 kB / 2.207 GB, free: 235.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004884/4.396, allocations: 1.754 MB / 2.209 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/4.397, allocations: 336.2 kB / 2.209 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000562/4.398, allocations: 13.5 kB / 2.209 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/4.399, allocations: 87.02 kB / 2.209 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/4.399, allocations: 59.86 kB / 2.209 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.346e-05/4.399, allocations: 31.06 kB / 2.209 GB, free: 235 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001859/4.401, allocations: 0.8799 MB / 2.21 GB, free: 234.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/4.401, allocations: 5 kB / 2.21 GB, free: 234.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003555/4.405, allocations: 0.7894 MB / 2.211 GB, free: 234.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001817/4.407, allocations: 0.7434 MB / 2.212 GB, free: 234.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002077/4.409, allocations: 0.9259 MB / 2.213 GB, free: 234.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/4.409, allocations: 0 / 2.213 GB, free: 234.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/4.41, allocations: 0.5101 MB / 2.213 GB, free: 234.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/4.414, allocations: 0.7619 MB / 2.214 GB, free: 234.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/4.418, allocations: 1.772 MB / 2.216 GB, free: 234 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008394/4.419, allocations: 1.204 MB / 2.217 GB, free: 233.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002818/4.422, allocations: 378.1 kB / 2.217 GB, free: 233.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/4.422, allocations: 84.69 kB / 2.217 GB, free: 233.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.192e-06/4.422, allocations: 3.5 kB / 2.217 GB, free: 233.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05769/4.48, allocations: 36 MB / 2.252 GB, free: 232.3 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches