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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004775/0.004775, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 195.4 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.9504 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7581, allocations: 140.4 MB / 1.087 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1831/0.9413, allocations: 162.9 MB / 1.247 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005463/0.9468, allocations: 3.47 MB / 1.25 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006562/0.9475, allocations: 19.88 kB / 1.25 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008523/0.9483, allocations: 278.5 kB / 1.25 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.9505, allocations: 0.8632 MB / 1.251 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.9517, allocations: 478.4 kB / 1.252 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.953, allocations: 1.099 MB / 1.253 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.9534, allocations: 328.6 kB / 1.253 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006259/0.9541, allocations: 406.3 kB / 1.253 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008579/0.955, allocations: 347.8 kB / 1.254 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-05/0.955, allocations: 40 kB / 1.254 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.9562, allocations: 0.6976 MB / 1.254 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.9564, allocations: 159.5 kB / 1.254 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.9568, allocations: 274.6 kB / 1.255 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.9581, allocations: 0.9348 MB / 1.256 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9581, allocations: 4 kB / 1.256 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9581, allocations: 0 / 1.256 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.9581, allocations: 0 / 1.256 GB, free: 1.629 MB / 0.9825 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.001524/0.9597, allocations: 0.8679 MB / 1.257 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9597, allocations: 16.03 kB / 1.257 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.868e-05/0.9598, allocations: 62.53 kB / 1.257 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.9609, allocations: 151.2 kB / 1.257 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.9617, allocations: 0.501 MB / 1.257 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.9617, allocations: 20.56 kB / 1.257 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.9618, allocations: 28 kB / 1.257 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.9623, allocations: 331.6 kB / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.9623, allocations: 0 / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.9624, allocations: 12 kB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.9624, allocations: 8.562 kB / 1.258 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.9628, allocations: 218.1 kB / 1.258 GB, free: 15.31 MB / 0.9981 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.001851/0.9647, allocations: 1.418 MB / 1.259 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.9651, allocations: 218.8 kB / 1.259 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.9653, allocations: 111.2 kB / 1.26 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.9653, allocations: 4 kB / 1.26 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.9656, allocations: 163.6 kB / 1.26 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.9656, allocations: 0 / 1.26 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002802/0.9684, allocations: 1.099 MB / 1.261 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.9684, allocations: 63.34 kB / 1.261 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.9689, allocations: 461.9 kB / 1.261 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.969, allocations: 37.64 kB / 1.261 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.9692, allocations: 232.2 kB / 1.261 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.099e-05/0.9693, allocations: 110.5 kB / 1.262 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.9694, allocations: 78.06 kB / 1.262 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9695, allocations: 354.8 kB / 1.262 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.9697, allocations: 128.7 kB / 1.262 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.97, allocations: 174.7 kB / 1.262 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.9705, allocations: 311.8 kB / 1.263 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9705, allocations: 0 / 1.263 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009632/0.9715, allocations: 494.2 kB / 1.263 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.9715, allocations: 8 kB / 1.263 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.9715, allocations: 0 / 1.263 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003518/0.9719, allocations: 80.92 kB / 1.263 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.9721, allocations: 71.84 kB / 1.263 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.9738, allocations: 1.903 MB / 1.265 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.9742, allocations: 8.031 kB / 1.265 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.9742, allocations: 16.12 kB / 1.265 GB, free: 7.387 MB / 0.9981 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.9745, allocations: 194.2 kB / 1.265 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.068e-05/0.9746, allocations: 51.47 kB / 1.265 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.9747, allocations: 56.61 kB / 1.265 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.9747, allocations: 4 kB / 1.265 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9747, allocations: 0 / 1.265 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.9747, allocations: 4 kB / 1.265 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.9762, allocations: 0.9603 MB / 1.266 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.9762, allocations: 7.922 kB / 1.266 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.9766, allocations: 67.91 kB / 1.266 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/0.9769, allocations: 68.8 kB / 1.266 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.977, allocations: 23.92 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.9783, allocations: 1.644 MB / 1.268 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9783, allocations: 3.938 kB / 1.268 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.9793, allocations: 0.5674 MB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.9795, allocations: 156.5 kB / 1.269 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.9796, allocations: 8 kB / 1.269 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.98, allocations: 11.94 kB / 1.269 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.98, allocations: 19.97 kB / 1.269 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.9801, allocations: 15.98 kB / 1.269 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000333/0.9804, allocations: 307.1 kB / 1.269 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9804, allocations: 0 / 1.269 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005173/0.9809, allocations: 128 kB / 1.269 GB, free: 2.855 MB / 0.9981 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002309/0.9832, allocations: 1.454 MB / 1.271 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007921/0.984, allocations: 414.5 kB / 1.271 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9841, allocations: 8.312 kB / 1.271 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.9844, allocations: 242.5 kB / 1.271 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.9856, allocations: 238.3 kB / 1.272 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.9914, allocations: 4.124 MB / 1.276 GB, free: 12.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.9918, allocations: 0.8504 MB / 1.276 GB, free: 11.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003064/0.9921, allocations: 92.31 kB / 1.277 GB, free: 11.43 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.9923, allocations: 151.4 kB / 1.277 GB, free: 11.28 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.9923, allocations: 0 / 1.277 GB, free: 11.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04947/1.042, allocations: 12.89 MB / 1.289 GB, free: 14.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.776/10.82, allocations: 14.8 kB / 1.289 GB, free: 14.62 MB / 1.029 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_9_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches