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.007884/0.007884, allocations: 96.56 kB / 15.73 MB, free: 6.055 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.001885/0.001885, allocations: 202.8 kB / 16.68 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.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.399/2.399, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 57 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2679, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.169/0.4369, allocations: 162.9 MB / 1.247 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006477/0.4435, allocations: 3.475 MB / 1.25 GB, free: 10.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000983/0.4445, allocations: 15.94 kB / 1.25 GB, free: 10.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.4456, allocations: 286.4 kB / 1.25 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.4485, allocations: 0.8867 MB / 1.251 GB, free: 9.789 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.4498, allocations: 481.4 kB / 1.252 GB, free: 9.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.4513, allocations: 1.099 MB / 1.253 GB, free: 8.215 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006605/0.452, allocations: 328.6 kB / 1.253 GB, free: 7.895 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008644/0.4529, allocations: 422.3 kB / 1.253 GB, free: 7.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.454, allocations: 353 kB / 1.254 GB, free: 7.141 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.4541, allocations: 40 kB / 1.254 GB, free: 7.102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.4556, allocations: 0.7054 MB / 1.254 GB, free: 6.395 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.4558, allocations: 167.5 kB / 1.255 GB, free: 6.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003386/0.4562, allocations: 266.7 kB / 1.255 GB, free: 5.969 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.4576, allocations: 0.9459 MB / 1.256 GB, free: 5.02 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4576, allocations: 0 / 1.256 GB, free: 5.02 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4576, allocations: 0 / 1.256 GB, free: 5.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.4577, allocations: 0 / 1.256 GB, free: 5.02 MB / 1.014 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.00147/0.4591, allocations: 0.8828 MB / 1.257 GB, free: 4.082 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4592, allocations: 12.03 kB / 1.257 GB, free: 4.07 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.734e-05/0.4593, allocations: 66.53 kB / 1.257 GB, free: 3.996 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.4604, allocations: 155.5 kB / 1.257 GB, free: 3.844 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008023/0.4612, allocations: 0.5051 MB / 1.257 GB, free: 3.297 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.4612, allocations: 28.55 kB / 1.257 GB, free: 3.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.4613, allocations: 32 kB / 1.257 GB, free: 3.238 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.4618, allocations: 319.6 kB / 1.258 GB, free: 2.914 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4619, allocations: 3.984 kB / 1.258 GB, free: 2.91 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.4619, allocations: 12 kB / 1.258 GB, free: 2.898 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.4619, allocations: 8.562 kB / 1.258 GB, free: 2.891 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004047/0.4623, allocations: 226 kB / 1.258 GB, free: 2.668 MB / 1.014 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.001886/0.4642, allocations: 1.411 MB / 1.259 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.4646, allocations: 218.7 kB / 1.26 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.4648, allocations: 104.8 kB / 1.26 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.4649, allocations: 0 / 1.26 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.4652, allocations: 167.2 kB / 1.26 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.4652, allocations: 0 / 1.26 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.5014/0.9666, allocations: 1.099 MB / 1.261 GB, free: 176.1 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.9667, allocations: 61.23 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.9672, allocations: 458.3 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.9673, allocations: 31.52 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.9674, allocations: 238.9 kB / 1.262 GB, free: 175.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.9675, allocations: 107.6 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.9676, allocations: 77.66 kB / 1.262 GB, free: 175.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.9677, allocations: 355.5 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.968, allocations: 126.2 kB / 1.262 GB, free: 175.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.9682, allocations: 188.6 kB / 1.262 GB, free: 175.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.9687, allocations: 311 kB / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9687, allocations: 0 / 1.263 GB, free: 175.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009975/0.9697, allocations: 499.5 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.9698, allocations: 5.656 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9698, allocations: 1.844 kB / 1.263 GB, free: 175.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/0.9701, allocations: 85.39 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.9704, allocations: 70.09 kB / 1.263 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.9719, allocations: 1.91 MB / 1.265 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.9722, allocations: 9.734 kB / 1.265 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.9723, allocations: 15.28 kB / 1.265 GB, free: 173.4 MB / 1.014 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.0002074/0.9725, allocations: 198.5 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.9726, allocations: 51.2 kB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.9727, allocations: 54.77 kB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.9727, allocations: 3.438 kB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9727, allocations: 1.375 kB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.9727, allocations: 2.469 kB / 1.266 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.9743, allocations: 0.9684 MB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9743, allocations: 0.75 kB / 1.266 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.9747, allocations: 66.91 kB / 1.267 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.975, allocations: 78.97 kB / 1.267 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.975, allocations: 12.16 kB / 1.267 GB, free: 172.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.9762, allocations: 1.647 MB / 1.268 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.9762, allocations: 0.75 kB / 1.268 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.9772, allocations: 0.5739 MB / 1.269 GB, free: 170.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.9774, allocations: 152.8 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.9775, allocations: 8.859 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.9779, allocations: 10.19 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.9779, allocations: 24.27 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.978, allocations: 17.5 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003698/0.9783, allocations: 304.7 kB / 1.269 GB, free: 170.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9783, allocations: 0 / 1.269 GB, free: 170.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005605/0.9789, allocations: 128.6 kB / 1.269 GB, free: 170.4 MB / 1.014 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.002074/0.981, allocations: 1.441 MB / 1.271 GB, free: 169.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007413/0.9817, allocations: 429.2 kB / 1.271 GB, free: 169.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9818, allocations: 0 / 1.271 GB, free: 169.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.9821, allocations: 250.5 kB / 1.271 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.9832, allocations: 241.8 kB / 1.272 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.9891, allocations: 4.141 MB / 1.276 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.9894, allocations: 0.8535 MB / 1.277 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004057/0.9899, allocations: 84.97 kB / 1.277 GB, free: 165.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.9901, allocations: 148.8 kB / 1.277 GB, free: 165.8 MB / 1.014 GB Notification: Performance of SimCode: time 7.31e-07/0.9901, allocations: 0.5 kB / 1.277 GB, free: 165.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/1.027, allocations: 12.9 MB / 1.289 GB, free: 163.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.658/10.68, allocations: 9.359 kB / 1.289 GB, free: 163.8 MB / 1.014 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