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.459/2.459, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001097/0.001097, allocations: 176.1 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.762/1.762, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.001195/0.001195, allocations: 88.02 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.43e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3302, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.581/6.911, allocations: 1.919 GB / 3.138 GB, free: 339.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/6.911, allocations: 90.69 kB / 3.138 GB, free: 339.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3486/7.26, allocations: 174.1 MB / 3.308 GB, free: 174.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/7.26, allocations: 4 kB / 3.308 GB, free: 174.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.142e-05/7.26, allocations: 16 kB / 3.308 GB, free: 174.7 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.001656/7.262, allocations: 0.7365 MB / 3.309 GB, free: 174 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/7.262, allocations: 8.031 kB / 3.309 GB, free: 173.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/7.263, allocations: 155.2 kB / 3.309 GB, free: 173.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/7.264, allocations: 0.5013 MB / 3.309 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/7.265, allocations: 20.56 kB / 3.309 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/7.265, allocations: 39.91 kB / 3.309 GB, free: 173.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/7.265, allocations: 315.6 kB / 3.31 GB, free: 172.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/7.265, allocations: 0 / 3.31 GB, free: 172.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/7.265, allocations: 12 kB / 3.31 GB, free: 172.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/7.265, allocations: 8.562 kB / 3.31 GB, free: 172.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/7.266, allocations: 210.2 kB / 3.31 GB, free: 172.6 MB / 1.167 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.002143/7.268, allocations: 1.466 MB / 3.311 GB, free: 171 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/7.268, allocations: 223.4 kB / 3.311 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/7.268, allocations: 108.8 kB / 3.312 GB, free: 170.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/7.268, allocations: 4 kB / 3.312 GB, free: 170.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/7.269, allocations: 157.7 kB / 3.312 GB, free: 170.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=26): time 2.475e-06/7.269, allocations: 0 / 3.312 GB, free: 170.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=29): time 0.002556/7.271, allocations: 0.9977 MB / 3.313 GB, free: 169.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/7.271, allocations: 55.41 kB / 3.313 GB, free: 169.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005239/7.272, allocations: 407.2 kB / 3.313 GB, free: 169 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/7.272, allocations: 33.7 kB / 3.313 GB, free: 169 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/7.272, allocations: 236.2 kB / 3.313 GB, free: 168.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/7.272, allocations: 102.6 kB / 3.314 GB, free: 168.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/7.272, allocations: 4 kB / 3.314 GB, free: 168.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/7.272, allocations: 358.8 kB / 3.314 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/7.273, allocations: 132.7 kB / 3.314 GB, free: 168.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/7.273, allocations: 182.7 kB / 3.314 GB, free: 167.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/7.273, allocations: 157.4 kB / 3.314 GB, free: 167.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.273, allocations: 7.953 kB / 3.314 GB, free: 167.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008254/7.274, allocations: 491.5 kB / 3.315 GB, free: 167.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/7.274, allocations: 4 kB / 3.315 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/7.274, allocations: 4 kB / 3.315 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/7.274, allocations: 84.95 kB / 3.315 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/7.274, allocations: 71.84 kB / 3.315 GB, free: 167.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/7.276, allocations: 1.717 MB / 3.317 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/7.276, allocations: 20.05 kB / 3.317 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/7.276, allocations: 16 kB / 3.317 GB, free: 165.2 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 () * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/7.276, allocations: 122.5 kB / 3.317 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/7.277, allocations: 47.39 kB / 3.317 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007828/7.277, allocations: 404.3 kB / 3.317 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/7.277, allocations: 7.938 kB / 3.317 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/7.277, allocations: 4 kB / 3.317 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/7.277, allocations: 4.078 kB / 3.317 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/7.279, allocations: 0.988 MB / 3.318 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/7.279, allocations: 0 / 3.318 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/7.279, allocations: 59.91 kB / 3.318 GB, free: 163.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/7.279, allocations: 104.8 kB / 3.318 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/7.279, allocations: 12 kB / 3.318 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/7.281, allocations: 1.713 MB / 3.32 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/7.281, allocations: 3.953 kB / 3.32 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/7.282, allocations: 0.5706 MB / 3.321 GB, free: 161 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/7.282, allocations: 160.5 kB / 3.321 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/7.282, allocations: 8 kB / 3.321 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/7.282, allocations: 24.05 kB / 3.321 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/7.282, allocations: 23.97 kB / 3.321 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/7.282, allocations: 15.98 kB / 3.321 GB, free: 160.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003152/7.283, allocations: 301.2 kB / 3.321 GB, free: 160.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/7.283, allocations: 0 / 3.321 GB, free: 160.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008075/7.283, allocations: 199.8 kB / 3.321 GB, free: 160.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (26): * Single equations (assignments): 23 * 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.00174/7.285, allocations: 0.978 MB / 3.322 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006966/7.286, allocations: 418.4 kB / 3.323 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/7.286, allocations: 0 / 3.323 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004082/7.286, allocations: 274.7 kB / 3.323 GB, free: 158.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009977/7.287, allocations: 223.4 kB / 3.323 GB, free: 158.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/7.289, allocations: 0.7477 MB / 3.324 GB, free: 157.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/7.289, allocations: 0.8623 MB / 3.325 GB, free: 156.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003499/7.289, allocations: 88.31 kB / 3.325 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/7.289, allocations: 35.44 kB / 3.325 GB, free: 156.7 MB / 1.167 GB Notification: Performance of SimCode: time 6.91e-07/7.289, allocations: 0 / 3.325 GB, free: 156.7 MB / 1.167 GB Notification: Performance of Templates: time 0.02391/7.313, allocations: 19.19 MB / 3.344 GB, free: 137.6 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