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.404/2.404, allocations: 390.5 MB / 398 MB, free: 11 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.001409/0.001408, allocations: 180.9 kB / 491.2 MB, free: 1.625 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.502/1.502, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001259/0.001259, allocations: 86.03 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.913e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.285, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.576, allocations: 434.6 MB / 1.637 GB, free: 12.7 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.576, allocations: 88.2 kB / 1.637 GB, free: 12.65 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.943/4.519, allocations: 0.6465 GB / 2.283 GB, free: 267.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.144e-06/4.519, allocations: 3.344 kB / 2.283 GB, free: 267.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001241/4.52, allocations: 34.64 kB / 2.283 GB, free: 267.5 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003167/4.523, allocations: 1.486 MB / 2.285 GB, free: 266.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/4.523, allocations: 7.844 kB / 2.285 GB, free: 266.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/4.525, allocations: 448.2 kB / 2.285 GB, free: 266.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/4.527, allocations: 1.307 MB / 2.286 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/4.528, allocations: 94.38 kB / 2.287 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.279e-05/4.528, allocations: 51.06 kB / 2.287 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001109/4.529, allocations: 0.6168 MB / 2.287 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/4.53, allocations: 0.7655 MB / 2.288 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/4.53, allocations: 3.625 kB / 2.288 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/4.53, allocations: 3.953 kB / 2.288 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/4.53, allocations: 29.62 kB / 2.288 GB, free: 266.2 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.005512/4.536, allocations: 4.536 MB / 2.292 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/4.538, allocations: 0.6663 MB / 2.293 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/4.538, allocations: 191.5 kB / 2.293 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/4.539, allocations: 0.9114 MB / 2.294 GB, free: 262.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/4.539, allocations: 38.12 kB / 2.294 GB, free: 262.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 2.495e-06/4.539, allocations: 0 / 2.294 GB, free: 262.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.002727/4.542, allocations: 0.7556 MB / 2.295 GB, free: 262.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/4.542, allocations: 55.25 kB / 2.295 GB, free: 262.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/4.543, allocations: 0.749 MB / 2.296 GB, free: 262.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/4.543, allocations: 25.7 kB / 2.296 GB, free: 262.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/4.543, allocations: 0.5404 MB / 2.296 GB, free: 262.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/4.543, allocations: 140.4 kB / 2.296 GB, free: 262.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/4.543, allocations: 0 / 2.296 GB, free: 262.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/4.543, allocations: 324.1 kB / 2.297 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/4.544, allocations: 173.9 kB / 2.297 GB, free: 261.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/4.544, allocations: 411.1 kB / 2.297 GB, free: 261.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/4.545, allocations: 253.3 kB / 2.297 GB, free: 261.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/4.545, allocations: 5.281 kB / 2.297 GB, free: 261.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001234/4.546, allocations: 0.6968 MB / 2.298 GB, free: 261.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004093/4.546, allocations: 1.667 MB / 2.3 GB, free: 259.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/4.546, allocations: 13.33 kB / 2.3 GB, free: 259.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/4.547, allocations: 226.7 kB / 2.3 GB, free: 259.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/4.547, allocations: 122.3 kB / 2.3 GB, free: 259.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008904/4.548, allocations: 0.8706 MB / 2.301 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/4.55, allocations: 171.9 kB / 2.301 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/4.55, allocations: 29.64 kB / 2.301 GB, free: 259.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/4.55, allocations: 7.281 kB / 2.301 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/4.551, allocations: 0.5633 MB / 2.302 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/4.551, allocations: 3.906 kB / 2.302 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/4.551, allocations: 234 kB / 2.302 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/4.552, allocations: 120.4 kB / 2.302 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007784/4.553, allocations: 0.8661 MB / 2.303 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/4.554, allocations: 136.4 kB / 2.303 GB, free: 258.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/4.554, allocations: 32.58 kB / 2.303 GB, free: 258.6 MB / 1.151 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.0001782/4.554, allocations: 121.6 kB / 2.303 GB, free: 258.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/4.554, allocations: 96.41 kB / 2.303 GB, free: 258.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/4.556, allocations: 0.7083 MB / 2.304 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/4.556, allocations: 7.25 kB / 2.304 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/4.556, allocations: 7.609 kB / 2.304 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/4.556, allocations: 2.906 kB / 2.304 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/4.559, allocations: 1.865 MB / 2.306 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/4.559, allocations: 0 / 2.306 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/4.56, allocations: 67.78 kB / 2.306 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/4.56, allocations: 249.3 kB / 2.306 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/4.56, allocations: 14.19 kB / 2.306 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008178/4.561, allocations: 0.8953 MB / 2.307 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/4.561, allocations: 3.562 kB / 2.307 GB, free: 257.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/4.564, allocations: 1.076 MB / 2.308 GB, free: 257 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/4.564, allocations: 267.8 kB / 2.308 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/4.564, allocations: 7.297 kB / 2.308 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/4.565, allocations: 97.69 kB / 2.308 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/4.565, allocations: 45.61 kB / 2.308 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/4.565, allocations: 25.38 kB / 2.308 GB, free: 256.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007572/4.566, allocations: 0.5638 MB / 2.309 GB, free: 256.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.102e-06/4.566, allocations: 0 / 2.309 GB, free: 256.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001914/4.568, allocations: 0.6155 MB / 2.31 GB, free: 256.6 MB / 1.151 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.001152/4.569, allocations: 0.6734 MB / 2.31 GB, free: 256.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001503/4.571, allocations: 0.7838 MB / 2.311 GB, free: 256.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/4.571, allocations: 3.156 kB / 2.311 GB, free: 256.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/4.571, allocations: 273.6 kB / 2.311 GB, free: 256.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/4.573, allocations: 392.4 kB / 2.312 GB, free: 256.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/4.577, allocations: 1.537 MB / 2.313 GB, free: 256 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/4.577, allocations: 1.09 MB / 2.314 GB, free: 255.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001172/4.579, allocations: 240 kB / 2.314 GB, free: 255.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/4.579, allocations: 54.44 kB / 2.315 GB, free: 255.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/4.579, allocations: 3.219 kB / 2.315 GB, free: 255.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03517/4.614, allocations: 23.05 MB / 2.337 GB, free: 254.5 MB / 1.151 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