Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,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.TSet|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_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,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.TSet|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_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.284/2.284, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001047/0.001048, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.566/1.566, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009937/0.0009936, allocations: 91.95 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.746e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3175, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.644, allocations: 435.3 MB / 1.644 GB, free: 15.21 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.645, allocations: 87.95 kB / 1.644 GB, free: 15.13 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.896/4.541, allocations: 0.6495 GB / 2.293 GB, free: 241.9 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.513e-06/4.541, allocations: 0 / 2.293 GB, free: 241.9 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002127/4.541, allocations: 35.19 kB / 2.293 GB, free: 241.9 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004684/4.546, allocations: 1.488 MB / 2.295 GB, free: 240.8 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/4.546, allocations: 7.5 kB / 2.295 GB, free: 240.8 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/4.548, allocations: 451.5 kB / 2.295 GB, free: 240.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004301/4.553, allocations: 1.297 MB / 2.297 GB, free: 239.7 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/4.553, allocations: 133.4 kB / 2.297 GB, free: 239.6 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/4.554, allocations: 81.56 kB / 2.297 GB, free: 239.6 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/4.555, allocations: 0.8657 MB / 2.298 GB, free: 239.1 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/4.555, allocations: 4.453 kB / 2.298 GB, free: 239.1 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/4.556, allocations: 31.06 kB / 2.298 GB, free: 239 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/4.556, allocations: 35.91 kB / 2.298 GB, free: 239 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/4.557, allocations: 0.6382 MB / 2.298 GB, free: 238.7 MB / 1.135 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.006205/4.563, allocations: 4.721 MB / 2.303 GB, free: 234.7 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/4.565, allocations: 0.69 MB / 2.304 GB, free: 234.4 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/4.566, allocations: 206.3 kB / 2.304 GB, free: 234.3 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/4.566, allocations: 0.9149 MB / 2.305 GB, free: 233.2 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/4.566, allocations: 38.22 kB / 2.305 GB, free: 233.2 MB / 1.135 GB Notification: Performance of pre-optimization done (n=42): time 2.696e-06/4.566, allocations: 0 / 2.305 GB, free: 233.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=42): time 0.002555/4.569, allocations: 0.7621 MB / 2.305 GB, free: 232.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/4.569, allocations: 62.12 kB / 2.305 GB, free: 232.7 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/4.57, allocations: 0.9031 MB / 2.306 GB, free: 232.3 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-05/4.57, allocations: 36.73 kB / 2.306 GB, free: 232.2 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/4.57, allocations: 0.5275 MB / 2.307 GB, free: 231.8 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/4.57, allocations: 149.1 kB / 2.307 GB, free: 231.6 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/4.57, allocations: 8 kB / 2.307 GB, free: 231.6 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/4.571, allocations: 332.1 kB / 2.307 GB, free: 231.3 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/4.571, allocations: 183.7 kB / 2.308 GB, free: 231.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/4.571, allocations: 424.9 kB / 2.308 GB, free: 230.8 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/4.572, allocations: 221.8 kB / 2.308 GB, free: 230.7 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/4.572, allocations: 0 / 2.308 GB, free: 230.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001173/4.573, allocations: 0.7099 MB / 2.309 GB, free: 230.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003686/4.573, allocations: 1.67 MB / 2.311 GB, free: 228.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/4.573, allocations: 4.906 kB / 2.311 GB, free: 228.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008668/4.574, allocations: 267.8 kB / 2.311 GB, free: 228.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/4.575, allocations: 118.5 kB / 2.311 GB, free: 228.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00078/4.575, allocations: 0.8349 MB / 2.312 GB, free: 227.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/4.577, allocations: 189.2 kB / 2.312 GB, free: 227.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/4.577, allocations: 34 kB / 2.312 GB, free: 227.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/4.577, allocations: 5.438 kB / 2.312 GB, free: 227.7 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009239/4.578, allocations: 0.5791 MB / 2.312 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/4.578, allocations: 9.938 kB / 2.312 GB, free: 227.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/4.578, allocations: 248.5 kB / 2.313 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/4.579, allocations: 125.2 kB / 2.313 GB, free: 227.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006626/4.58, allocations: 0.8165 MB / 2.314 GB, free: 226.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/4.581, allocations: 174.1 kB / 2.314 GB, free: 226.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/4.581, allocations: 37.91 kB / 2.314 GB, free: 226.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001916/4.581, allocations: 132.7 kB / 2.314 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/4.581, allocations: 110.4 kB / 2.314 GB, free: 226.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/4.583, allocations: 0.7548 MB / 2.315 GB, free: 225.9 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/4.583, allocations: 6.938 kB / 2.315 GB, free: 225.9 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/4.583, allocations: 0 / 2.315 GB, free: 225.9 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/4.583, allocations: 0 / 2.315 GB, free: 225.9 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/4.587, allocations: 1.993 MB / 2.317 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/4.587, allocations: 0 / 2.317 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/4.587, allocations: 68.55 kB / 2.317 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006741/4.588, allocations: 257.4 kB / 2.317 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/4.588, allocations: 15.33 kB / 2.317 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007104/4.588, allocations: 0.856 MB / 2.318 GB, free: 223.7 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/4.588, allocations: 7.531 kB / 2.318 GB, free: 223.7 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/4.591, allocations: 1.128 MB / 2.319 GB, free: 223 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/4.591, allocations: 279.9 kB / 2.319 GB, free: 222.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/4.591, allocations: 7.969 kB / 2.319 GB, free: 222.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/4.592, allocations: 115 kB / 2.319 GB, free: 222.7 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/4.592, allocations: 34.8 kB / 2.319 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/4.593, allocations: 26.03 kB / 2.319 GB, free: 222.6 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0009014/4.593, allocations: 0.7084 MB / 2.32 GB, free: 222.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.4e-07/4.593, allocations: 0 / 2.32 GB, free: 222.3 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001778/4.595, allocations: 0.6184 MB / 2.321 GB, free: 222.1 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/4.596, allocations: 0.6689 MB / 2.321 GB, free: 221.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001516/4.598, allocations: 0.8296 MB / 2.322 GB, free: 221.4 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/4.598, allocations: 4 kB / 2.322 GB, free: 221.4 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005434/4.598, allocations: 292.6 kB / 2.323 GB, free: 221.1 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/4.601, allocations: 0.4982 MB / 2.323 GB, free: 220.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/4.605, allocations: 1.585 MB / 2.325 GB, free: 219 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/4.605, allocations: 1.089 MB / 2.326 GB, free: 217.9 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001262/4.606, allocations: 264.6 kB / 2.326 GB, free: 217.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/4.607, allocations: 55.42 kB / 2.326 GB, free: 217.7 MB / 1.135 GB Notification: Performance of SimCode: time 1.002e-06/4.607, allocations: 0 / 2.326 GB, free: 217.7 MB / 1.135 GB Notification: Performance of Templates: time 0.04511/4.652, allocations: 29.38 MB / 2.355 GB, free: 189.4 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches