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.252/2.252, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001542/0.001542, allocations: 187 kB / 0.4902 GB, free: 2.207 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.681/1.681, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.0011/0.0011, allocations: 110.8 kB / 0.9396 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.00041, allocations: 9.875 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3295, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.552, allocations: 435.3 MB / 1.654 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/1.552, allocations: 89.89 kB / 1.654 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.965/4.517, allocations: 0.6516 GB / 2.306 GB, free: 249.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.124e-06/4.517, allocations: 0 / 2.306 GB, free: 249.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002833/4.518, allocations: 32.61 kB / 2.306 GB, free: 249.4 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.006879/4.525, allocations: 1.72 MB / 2.308 GB, free: 248.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/4.525, allocations: 13.02 kB / 2.308 GB, free: 248.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/4.528, allocations: 448.7 kB / 2.308 GB, free: 248.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/4.531, allocations: 1.312 MB / 2.309 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/4.532, allocations: 128.7 kB / 2.309 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/4.532, allocations: 81.88 kB / 2.31 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/4.534, allocations: 1.003 MB / 2.311 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/4.534, allocations: 5.703 kB / 2.311 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/4.534, allocations: 31.09 kB / 2.311 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/4.534, allocations: 31.58 kB / 2.311 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/4.536, allocations: 0.8956 MB / 2.311 GB, free: 248.3 MB / 1.151 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.006381/4.542, allocations: 4.701 MB / 2.316 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/4.546, allocations: 0.8815 MB / 2.317 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/4.546, allocations: 0.9031 MB / 2.318 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/4.546, allocations: 45.12 kB / 2.318 GB, free: 244.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 3.046e-06/4.546, allocations: 0 / 2.318 GB, free: 244.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.008366/4.555, allocations: 2.015 MB / 2.32 GB, free: 244.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/4.555, allocations: 54.78 kB / 2.32 GB, free: 244.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/4.556, allocations: 0.9523 MB / 2.321 GB, free: 244.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/4.557, allocations: 36.83 kB / 2.321 GB, free: 244.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/4.557, allocations: 0.5382 MB / 2.321 GB, free: 244.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/4.557, allocations: 141.9 kB / 2.322 GB, free: 244.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/4.557, allocations: 6.062 kB / 2.322 GB, free: 244.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/4.557, allocations: 327.2 kB / 2.322 GB, free: 243.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/4.558, allocations: 304.7 kB / 2.322 GB, free: 243.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009214/4.559, allocations: 0.5374 MB / 2.323 GB, free: 243.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008038/4.56, allocations: 344.2 kB / 2.323 GB, free: 243.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-06/4.56, allocations: 7.797 kB / 2.323 GB, free: 243.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002512/4.562, allocations: 0.9996 MB / 2.324 GB, free: 243.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004794/4.563, allocations: 1.678 MB / 2.326 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/4.563, allocations: 5.969 kB / 2.326 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/4.564, allocations: 358 kB / 2.326 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/4.565, allocations: 116.4 kB / 2.326 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/4.566, allocations: 0.9789 MB / 2.327 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/4.568, allocations: 200 kB / 2.327 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/4.568, allocations: 29.3 kB / 2.327 GB, free: 241.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/4.568, allocations: 5.656 kB / 2.327 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002207/4.57, allocations: 0.8705 MB / 2.328 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/4.57, allocations: 3.938 kB / 2.328 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/4.571, allocations: 346.2 kB / 2.328 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/4.572, allocations: 124.2 kB / 2.329 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/4.573, allocations: 0.977 MB / 2.329 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/4.575, allocations: 164.2 kB / 2.33 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/4.575, allocations: 38.19 kB / 2.33 GB, free: 240.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 () * Number of clocked 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.0006882/4.575, allocations: 347.3 kB / 2.33 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/4.576, allocations: 108.2 kB / 2.33 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/4.578, allocations: 0.9772 MB / 2.331 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/4.578, allocations: 11.56 kB / 2.331 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/4.578, allocations: 0 / 2.331 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/4.578, allocations: 0 / 2.331 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/4.583, allocations: 2.217 MB / 2.333 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/4.583, allocations: 13.7 kB / 2.333 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/4.583, allocations: 64.53 kB / 2.333 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/4.584, allocations: 360.2 kB / 2.334 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/4.584, allocations: 16.7 kB / 2.334 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/4.586, allocations: 0.9975 MB / 2.335 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/4.586, allocations: 2.062 kB / 2.335 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/4.589, allocations: 1.354 MB / 2.336 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/4.59, allocations: 275.4 kB / 2.336 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/4.59, allocations: 10.28 kB / 2.336 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/4.591, allocations: 117.3 kB / 2.336 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/4.591, allocations: 34.42 kB / 2.336 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/4.591, allocations: 29.98 kB / 2.336 GB, free: 238.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001269/4.593, allocations: 0.7491 MB / 2.337 GB, free: 238.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/4.593, allocations: 0 / 2.337 GB, free: 238.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002606/4.595, allocations: 0.6214 MB / 2.338 GB, free: 238.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 () * Number of clocked 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.001515/4.597, allocations: 0.6617 MB / 2.338 GB, free: 238.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003315/4.6, allocations: 1.127 MB / 2.34 GB, free: 238.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/4.6, allocations: 1.375 kB / 2.34 GB, free: 238.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/4.601, allocations: 383.1 kB / 2.34 GB, free: 238.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/4.604, allocations: 0.4937 MB / 2.34 GB, free: 238.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/4.61, allocations: 2.471 MB / 2.343 GB, free: 237.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008667/4.611, allocations: 1.088 MB / 2.344 GB, free: 236.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001257/4.612, allocations: 209.5 kB / 2.344 GB, free: 236.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/4.612, allocations: 77.59 kB / 2.344 GB, free: 236.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.262e-06/4.612, allocations: 0 / 2.344 GB, free: 236.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04486/4.657, allocations: 26.73 MB / 2.37 GB, free: 235.8 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