Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 183.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008997/0.0008994, allocations: 102.2 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.59e-05/1.591e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2289, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.864/6.093, allocations: 2.191 GB / 3.076 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/6.093, allocations: 82.39 kB / 3.076 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3071/6.401, allocations: 165.4 MB / 3.238 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.713e-06/6.401, allocations: 0 / 3.238 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.746e-05/6.401, allocations: 11.98 kB / 3.238 GB, free: 13.68 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001105/6.402, allocations: 0.7326 MB / 3.238 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/6.402, allocations: 8.031 kB / 3.238 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009142/6.403, allocations: 147.2 kB / 3.238 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/6.404, allocations: 0.4996 MB / 3.239 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/6.404, allocations: 12 kB / 3.239 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/6.404, allocations: 20 kB / 3.239 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003407/6.404, allocations: 193.5 kB / 3.239 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/6.404, allocations: 277 kB / 3.239 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/6.404, allocations: 0 / 3.239 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/6.404, allocations: 4 kB / 3.239 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/6.404, allocations: 12.56 kB / 3.239 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/6.406, allocations: 1.4 MB / 3.241 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/6.406, allocations: 203.1 kB / 3.241 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/6.406, allocations: 96.84 kB / 3.241 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/6.406, allocations: 4 kB / 3.241 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/6.407, allocations: 155.3 kB / 3.241 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/6.407, allocations: 0 / 3.241 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002209/6.409, allocations: 0.998 MB / 3.242 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/6.409, allocations: 55.41 kB / 3.242 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/6.409, allocations: 385.1 kB / 3.243 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/6.409, allocations: 25.7 kB / 3.243 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/6.409, allocations: 240.4 kB / 3.243 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/6.41, allocations: 102.5 kB / 3.243 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/6.41, allocations: 0 / 3.243 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/6.41, allocations: 362.8 kB / 3.243 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/6.41, allocations: 120.9 kB / 3.243 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/6.41, allocations: 181.5 kB / 3.244 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/6.41, allocations: 155.7 kB / 3.244 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/6.41, allocations: 0 / 3.244 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007334/6.411, allocations: 465.8 kB / 3.244 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/6.411, allocations: 4 kB / 3.244 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.475e-06/6.411, allocations: 12.09 kB / 3.244 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/6.411, allocations: 80.8 kB / 3.244 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/6.412, allocations: 67.91 kB / 3.244 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/6.413, allocations: 1.701 MB / 3.246 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/6.413, allocations: 16.11 kB / 3.246 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/6.413, allocations: 16 kB / 3.246 GB, free: 4.492 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.904e-05/6.413, allocations: 117 kB / 3.246 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/6.414, allocations: 47.42 kB / 3.246 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007091/6.414, allocations: 387.7 kB / 3.247 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/6.414, allocations: 4 kB / 3.247 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/6.414, allocations: 0 / 3.247 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/6.414, allocations: 3.984 kB / 3.247 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/6.416, allocations: 0.9582 MB / 3.247 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/6.416, allocations: 3.953 kB / 3.247 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/6.416, allocations: 63.94 kB / 3.248 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/6.416, allocations: 104.8 kB / 3.248 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/6.416, allocations: 8 kB / 3.248 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/6.418, allocations: 1.658 MB / 3.249 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/6.418, allocations: 3.938 kB / 3.249 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/6.418, allocations: 0.573 MB / 3.25 GB, free: 368 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/6.419, allocations: 152.6 kB / 3.25 GB, free: 196 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/6.419, allocations: 15.94 kB / 3.25 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/6.419, allocations: 23.83 kB / 3.25 GB, free: 156 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/6.419, allocations: 27.91 kB / 3.25 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/6.419, allocations: 8 kB / 3.25 GB, free: 120 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.5633/6.982, allocations: 277.5 kB / 3.25 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.71e-07/6.982, allocations: 0.6562 kB / 3.25 GB, free: 257.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001394/6.984, allocations: 167.6 kB / 3.25 GB, free: 257.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002115/6.986, allocations: 1.046 MB / 3.252 GB, free: 257.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001086/6.987, allocations: 417.2 kB / 3.252 GB, free: 257 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/6.987, allocations: 0.6875 kB / 3.252 GB, free: 257 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005251/6.988, allocations: 254.2 kB / 3.252 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/6.989, allocations: 214.3 kB / 3.252 GB, free: 256.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/6.99, allocations: 0.7488 MB / 3.253 GB, free: 256.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/6.991, allocations: 0.8698 MB / 3.254 GB, free: 256 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004331/6.991, allocations: 88.34 kB / 3.254 GB, free: 256 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/6.991, allocations: 36.97 kB / 3.254 GB, free: 256 MB / 0.8698 GB Notification: Performance of SimCode: time 6.31e-07/6.991, allocations: 2 kB / 3.254 GB, free: 256 MB / 0.8698 GB Notification: Performance of Templates: time 0.03366/7.025, allocations: 11.75 MB / 3.266 GB, free: 255.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches