Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001259/0.001259, allocations: 186.8 kB / 0.4902 GB, free: 2.258 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.494/1.494, allocations: 223.1 MB / 0.7992 GB, free: 14.61 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.0009447/0.000945, allocations: 98.33 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 7 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.32, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.56/4.88, allocations: 1.919 GB / 3.148 GB, free: 77.66 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/4.88, allocations: 95.95 kB / 3.148 GB, free: 77.57 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.324/6.204, allocations: 174.3 MB / 3.319 GB, free: 372.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.217e-06/6.204, allocations: 4 kB / 3.319 GB, free: 372.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.109e-05/6.204, allocations: 8 kB / 3.319 GB, free: 372.4 MB / 1.167 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.002366/6.207, allocations: 0.8348 MB / 3.319 GB, free: 371.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/6.207, allocations: 8.031 kB / 3.319 GB, free: 371.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/6.208, allocations: 151.2 kB / 3.32 GB, free: 371.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/6.21, allocations: 0.5113 MB / 3.32 GB, free: 370.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/6.21, allocations: 20.56 kB / 3.32 GB, free: 370.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/6.21, allocations: 32 kB / 3.32 GB, free: 370.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/6.21, allocations: 327.6 kB / 3.32 GB, free: 370.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/6.21, allocations: 7.953 kB / 3.32 GB, free: 370.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/6.211, allocations: 12 kB / 3.32 GB, free: 370.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/6.211, allocations: 8.562 kB / 3.32 GB, free: 370.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004637/6.211, allocations: 218.1 kB / 3.321 GB, free: 370.2 MB / 1.167 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.002392/6.213, allocations: 1.455 MB / 3.322 GB, free: 368.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/6.214, allocations: 235.8 kB / 3.322 GB, free: 368.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/6.214, allocations: 7.938 kB / 3.322 GB, free: 368.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/6.214, allocations: 161 kB / 3.322 GB, free: 368.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/6.214, allocations: 0 / 3.322 GB, free: 368.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=29): time 0.003123/6.217, allocations: 1.094 MB / 3.324 GB, free: 367 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/6.217, allocations: 59.41 kB / 3.324 GB, free: 366.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/6.218, allocations: 421 kB / 3.324 GB, free: 366.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/6.218, allocations: 33.7 kB / 3.324 GB, free: 366.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/6.218, allocations: 240.2 kB / 3.324 GB, free: 366.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.738e-05/6.218, allocations: 98.64 kB / 3.324 GB, free: 366.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/6.218, allocations: 8 kB / 3.324 GB, free: 366.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001137/6.218, allocations: 354.8 kB / 3.325 GB, free: 365.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/6.219, allocations: 136.6 kB / 3.325 GB, free: 365.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/6.219, allocations: 191.4 kB / 3.325 GB, free: 365.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/6.219, allocations: 153.5 kB / 3.325 GB, free: 365.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/6.219, allocations: 0 / 3.325 GB, free: 365.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009527/6.22, allocations: 0.4962 MB / 3.326 GB, free: 364.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/6.22, allocations: 4.938 kB / 3.326 GB, free: 364.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/6.22, allocations: 4 kB / 3.326 GB, free: 364.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/6.221, allocations: 80.95 kB / 3.326 GB, free: 364.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/6.221, allocations: 71.84 kB / 3.326 GB, free: 364.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/6.223, allocations: 1.783 MB / 3.328 GB, free: 362.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/6.223, allocations: 27.92 kB / 3.328 GB, free: 362.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/6.223, allocations: 15.98 kB / 3.328 GB, free: 362.7 MB / 1.167 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.0002597/6.223, allocations: 197.7 kB / 3.328 GB, free: 362.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/6.223, allocations: 39.53 kB / 3.328 GB, free: 362.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/6.224, allocations: 415.1 kB / 3.328 GB, free: 362 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/6.224, allocations: 4 kB / 3.328 GB, free: 362 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/6.224, allocations: 0 / 3.328 GB, free: 362 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/6.224, allocations: 3.984 kB / 3.328 GB, free: 362 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/6.226, allocations: 0.9832 MB / 3.329 GB, free: 361 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/6.226, allocations: 0 / 3.329 GB, free: 361 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/6.226, allocations: 63.91 kB / 3.329 GB, free: 360.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/6.227, allocations: 80.78 kB / 3.329 GB, free: 360.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/6.227, allocations: 4 kB / 3.329 GB, free: 360.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/6.228, allocations: 1.581 MB / 3.331 GB, free: 359.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/6.228, allocations: 7.938 kB / 3.331 GB, free: 359.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/6.229, allocations: 0.5705 MB / 3.331 GB, free: 358.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/6.229, allocations: 156.5 kB / 3.332 GB, free: 358.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/6.229, allocations: 16.02 kB / 3.332 GB, free: 358.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/6.23, allocations: 19.92 kB / 3.332 GB, free: 358.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/6.23, allocations: 19.97 kB / 3.332 GB, free: 358.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/6.23, allocations: 11.94 kB / 3.332 GB, free: 358.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003291/6.23, allocations: 315.1 kB / 3.332 GB, free: 358 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/6.23, allocations: 0 / 3.332 GB, free: 358 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008146/6.231, allocations: 187.9 kB / 3.332 GB, free: 357.8 MB / 1.167 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.002147/6.233, allocations: 1.029 MB / 3.333 GB, free: 356.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000949/6.234, allocations: 455.3 kB / 3.334 GB, free: 356.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/6.234, allocations: 4 kB / 3.334 GB, free: 356.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/6.234, allocations: 246.6 kB / 3.334 GB, free: 356.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/6.235, allocations: 225.9 kB / 3.334 GB, free: 356 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/6.237, allocations: 1.259 MB / 3.335 GB, free: 354.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/6.238, allocations: 0.8584 MB / 3.336 GB, free: 353.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000432/6.238, allocations: 88.31 kB / 3.336 GB, free: 353.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/6.239, allocations: 47.42 kB / 3.336 GB, free: 353.7 MB / 1.167 GB Notification: Performance of SimCode: time 3.9e-07/6.239, allocations: 0 / 3.336 GB, free: 353.7 MB / 1.167 GB Notification: Performance of Templates: time 0.0258/6.264, allocations: 17.25 MB / 3.353 GB, free: 336.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches