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.557/2.557, allocations: 390.5 MB / 398 MB, free: 10.95 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.00141/0.00141, allocations: 176.9 kB / 491.2 MB, free: 1.566 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.708/1.708, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001194/0.001194, allocations: 91.95 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.345e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3627, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.776/7.139, allocations: 1.918 GB / 3.131 GB, free: 344.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/7.139, allocations: 90.88 kB / 3.131 GB, free: 344.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.3293/7.469, allocations: 172.1 MB / 3.299 GB, free: 193.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.474e-06/7.469, allocations: 192 / 3.299 GB, free: 193.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.283e-05/7.469, allocations: 15.94 kB / 3.299 GB, free: 193.5 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.001189/7.47, allocations: 0.736 MB / 3.3 GB, free: 192.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/7.47, allocations: 12.03 kB / 3.3 GB, free: 192.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009328/7.471, allocations: 151.2 kB / 3.3 GB, free: 192.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/7.472, allocations: 0.5072 MB / 3.3 GB, free: 192 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/7.472, allocations: 8 kB / 3.3 GB, free: 192 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/7.472, allocations: 23.98 kB / 3.3 GB, free: 192 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003618/7.472, allocations: 197.1 kB / 3.3 GB, free: 191.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/7.473, allocations: 274.6 kB / 3.301 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/7.473, allocations: 0 / 3.301 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/7.473, allocations: 4 kB / 3.301 GB, free: 191.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/7.473, allocations: 16.44 kB / 3.301 GB, free: 191.5 MB / 1.151 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.001686/7.474, allocations: 1.396 MB / 3.302 GB, free: 190 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/7.475, allocations: 207.6 kB / 3.302 GB, free: 189.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/7.475, allocations: 96.84 kB / 3.302 GB, free: 189.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/7.475, allocations: 4 kB / 3.302 GB, free: 189.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/7.475, allocations: 145 kB / 3.303 GB, free: 189.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/7.475, allocations: 0 / 3.303 GB, free: 189.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=29): time 0.002177/7.477, allocations: 0.9364 MB / 3.303 GB, free: 188.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/7.477, allocations: 51.41 kB / 3.304 GB, free: 188.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/7.478, allocations: 405.1 kB / 3.304 GB, free: 188 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/7.478, allocations: 25.7 kB / 3.304 GB, free: 188 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/7.478, allocations: 228.5 kB / 3.304 GB, free: 187.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/7.478, allocations: 102.6 kB / 3.304 GB, free: 187.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/7.478, allocations: 0 / 3.304 GB, free: 187.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/7.478, allocations: 354.8 kB / 3.305 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/7.478, allocations: 116.7 kB / 3.305 GB, free: 187.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/7.478, allocations: 182.3 kB / 3.305 GB, free: 187 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/7.479, allocations: 154.2 kB / 3.305 GB, free: 186.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/7.479, allocations: 0 / 3.305 GB, free: 186.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008051/7.48, allocations: 463.5 kB / 3.305 GB, free: 186.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/7.48, allocations: 8 kB / 3.305 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/7.48, allocations: 0 / 3.305 GB, free: 186.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003176/7.48, allocations: 88.89 kB / 3.306 GB, free: 186.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/7.48, allocations: 67.86 kB / 3.306 GB, free: 186.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/7.482, allocations: 1.693 MB / 3.307 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/7.482, allocations: 19.98 kB / 3.307 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/7.482, allocations: 16 kB / 3.307 GB, free: 184.4 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 () * 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.0001018/7.482, allocations: 114 kB / 3.307 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/7.482, allocations: 47.44 kB / 3.307 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007142/7.483, allocations: 380.4 kB / 3.308 GB, free: 183.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/7.483, allocations: 4 kB / 3.308 GB, free: 183.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/7.483, allocations: 0 / 3.308 GB, free: 183.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/7.483, allocations: 3.984 kB / 3.308 GB, free: 183.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/7.484, allocations: 0.9214 MB / 3.309 GB, free: 182.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/7.484, allocations: 0 / 3.309 GB, free: 182.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/7.484, allocations: 55.88 kB / 3.309 GB, free: 182.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/7.485, allocations: 112.7 kB / 3.309 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/7.485, allocations: 3.984 kB / 3.309 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/7.486, allocations: 1.65 MB / 3.31 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/7.486, allocations: 4.062 kB / 3.31 GB, free: 180.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/7.487, allocations: 0.5431 MB / 3.311 GB, free: 180.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/7.487, allocations: 152.5 kB / 3.311 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/7.487, allocations: 7.984 kB / 3.311 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/7.487, allocations: 12 kB / 3.311 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/7.488, allocations: 23.92 kB / 3.311 GB, free: 180.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/7.488, allocations: 15.98 kB / 3.311 GB, free: 180.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002529/7.488, allocations: 279 kB / 3.311 GB, free: 179.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.488, allocations: 0 / 3.311 GB, free: 179.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006847/7.489, allocations: 179.9 kB / 3.312 GB, free: 179.7 MB / 1.151 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.001633/7.49, allocations: 1.054 MB / 3.313 GB, free: 178.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007092/7.491, allocations: 413.7 kB / 3.313 GB, free: 178.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/7.491, allocations: 3.938 kB / 3.313 GB, free: 178.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/7.491, allocations: 250.2 kB / 3.313 GB, free: 178.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009903/7.492, allocations: 218.8 kB / 3.314 GB, free: 177.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/7.493, allocations: 0.7371 MB / 3.314 GB, free: 177.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/7.494, allocations: 0.8581 MB / 3.315 GB, free: 176.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003089/7.494, allocations: 84.33 kB / 3.315 GB, free: 176.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/7.494, allocations: 35.44 kB / 3.315 GB, free: 176.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.3e-07/7.494, allocations: 0 / 3.315 GB, free: 176.1 MB / 1.151 GB Notification: Performance of Templates: time 0.01622/7.51, allocations: 11.68 MB / 3.327 GB, free: 164.5 MB / 1.151 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