Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001536/0.001535, allocations: 165.2 kB / 498.1 MB, free: 5.75 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.682/1.682, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.001047/0.001046, allocations: 113.5 kB / 0.9346 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005024, allocations: 9.281 kB / 1.084 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3298, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.323/4.652, allocations: 1.918 GB / 3.141 GB, free: 10.94 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/4.653, allocations: 96.67 kB / 3.141 GB, free: 10.85 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.279/5.932, allocations: 174.3 MB / 3.311 GB, free: 300.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.475e-06/5.932, allocations: 0 / 3.311 GB, free: 300.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.438e-05/5.932, allocations: 12 kB / 3.311 GB, free: 300.2 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002/5.934, allocations: 0.8297 MB / 3.312 GB, free: 299.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/5.934, allocations: 12.03 kB / 3.312 GB, free: 299.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/5.935, allocations: 147.2 kB / 3.312 GB, free: 299.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/5.936, allocations: 0.5167 MB / 3.313 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/5.937, allocations: 20.56 kB / 3.313 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.524e-05/5.937, allocations: 31.94 kB / 3.313 GB, free: 298.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006163/5.937, allocations: 331.6 kB / 3.313 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/5.937, allocations: 3.938 kB / 3.313 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/5.937, allocations: 12 kB / 3.313 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/5.937, allocations: 8.562 kB / 3.313 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/5.938, allocations: 222.1 kB / 3.314 GB, free: 298 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.002018/5.94, allocations: 1.455 MB / 3.315 GB, free: 296.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/5.94, allocations: 226.8 kB / 3.315 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/5.94, allocations: 4 kB / 3.315 GB, free: 296.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/5.94, allocations: 171.5 kB / 3.315 GB, free: 295.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 2.795e-06/5.94, allocations: 0 / 3.315 GB, free: 295.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.00282/5.943, allocations: 1.095 MB / 3.316 GB, free: 294.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/5.943, allocations: 55.41 kB / 3.316 GB, free: 294.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/5.944, allocations: 413.1 kB / 3.317 GB, free: 294.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/5.944, allocations: 33.7 kB / 3.317 GB, free: 294.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/5.944, allocations: 236.2 kB / 3.317 GB, free: 294 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.922e-05/5.944, allocations: 102.5 kB / 3.317 GB, free: 293.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/5.944, allocations: 8 kB / 3.317 GB, free: 293.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/5.944, allocations: 354.8 kB / 3.318 GB, free: 293.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/5.944, allocations: 136.7 kB / 3.318 GB, free: 293.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/5.945, allocations: 186.9 kB / 3.318 GB, free: 293.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/5.945, allocations: 150.9 kB / 3.318 GB, free: 293.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/5.945, allocations: 8 kB / 3.318 GB, free: 293.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008648/5.946, allocations: 495.5 kB / 3.318 GB, free: 292.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/5.946, allocations: 4 kB / 3.318 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/5.946, allocations: 4 kB / 3.318 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/5.946, allocations: 80.95 kB / 3.319 GB, free: 292.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/5.947, allocations: 67.91 kB / 3.319 GB, free: 292.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/5.948, allocations: 1.787 MB / 3.32 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/5.949, allocations: 31.86 kB / 3.32 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/5.949, allocations: 16 kB / 3.32 GB, free: 290.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003066/5.949, allocations: 191 kB / 3.321 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/5.949, allocations: 51.64 kB / 3.321 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/5.95, allocations: 402.8 kB / 3.321 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/5.95, allocations: 7.984 kB / 3.321 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/5.95, allocations: 0 / 3.321 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/5.95, allocations: 4 kB / 3.321 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/5.952, allocations: 0.9794 MB / 3.322 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/5.952, allocations: 0 / 3.322 GB, free: 288.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/5.952, allocations: 67.89 kB / 3.322 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/5.952, allocations: 76.8 kB / 3.322 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/5.952, allocations: 8 kB / 3.322 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/5.954, allocations: 1.573 MB / 3.324 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/5.954, allocations: 3.984 kB / 3.324 GB, free: 286.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009292/5.955, allocations: 0.579 MB / 3.324 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002272/5.955, allocations: 156.6 kB / 3.324 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/5.955, allocations: 12 kB / 3.324 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/5.955, allocations: 20.3 kB / 3.324 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/5.955, allocations: 15.97 kB / 3.324 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/5.955, allocations: 15.98 kB / 3.324 GB, free: 286.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003799/5.956, allocations: 311.1 kB / 3.325 GB, free: 285.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/5.956, allocations: 0 / 3.325 GB, free: 285.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001005/5.957, allocations: 192 kB / 3.325 GB, free: 285.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002108/5.959, allocations: 1.04 MB / 3.326 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001002/5.96, allocations: 462.5 kB / 3.326 GB, free: 284.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.96, allocations: 0 / 3.326 GB, free: 284.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/5.96, allocations: 246.6 kB / 3.327 GB, free: 284 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/5.961, allocations: 216.8 kB / 3.327 GB, free: 283.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/5.963, allocations: 1.269 MB / 3.328 GB, free: 282.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/5.964, allocations: 0.8623 MB / 3.329 GB, free: 281.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003991/5.964, allocations: 92.31 kB / 3.329 GB, free: 281.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.773e-05/5.964, allocations: 35.44 kB / 3.329 GB, free: 281.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.192e-06/5.964, allocations: 0 / 3.329 GB, free: 281.5 MB / 1.151 GB Notification: Performance of Templates: time 0.02553/5.99, allocations: 17.25 MB / 3.346 GB, free: 264.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches