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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_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.001197/0.001197, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 469.4 MB / 0.742 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.31 kB / 0.9082 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2776, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1626/0.4402, allocations: 162.9 MB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005144/0.4454, allocations: 3.498 MB / 1.226 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004829/0.4459, allocations: 19.88 kB / 1.226 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.4467, allocations: 270.5 kB / 1.226 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.4486, allocations: 0.862 MB / 1.227 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.4497, allocations: 472.9 kB / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.4509, allocations: 1.087 MB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.4514, allocations: 328.6 kB / 1.229 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006206/0.452, allocations: 402.3 kB / 1.229 GB, free: 4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008348/0.4528, allocations: 345.9 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.995e-05/0.453, allocations: 40 kB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4541, allocations: 0.6977 MB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.4543, allocations: 167.5 kB / 1.231 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.4547, allocations: 274.6 kB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.4559, allocations: 0.9308 MB / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4559, allocations: 0 / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4559, allocations: 4 kB / 1.232 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.4559, allocations: 0 / 1.232 GB, free: 1.555 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.001393/0.4573, allocations: 0.868 MB / 1.233 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4574, allocations: 12.03 kB / 1.233 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.61e-05/0.4574, allocations: 58.55 kB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.4585, allocations: 159.2 kB / 1.233 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006887/0.4592, allocations: 488.9 kB / 1.233 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.4593, allocations: 20.56 kB / 1.233 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.472e-05/0.4593, allocations: 32 kB / 1.233 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.4599, allocations: 315.6 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4599, allocations: 3.984 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.4599, allocations: 12 kB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.4599, allocations: 16.56 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004081/0.4604, allocations: 226 kB / 1.234 GB, free: 15.27 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.001844/0.4622, allocations: 1.422 MB / 1.235 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.4626, allocations: 218.7 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.4628, allocations: 110.6 kB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4628, allocations: 4 kB / 1.236 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.4631, allocations: 179.5 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.4631, allocations: 0 / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002793/0.4659, allocations: 1.08 MB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.466, allocations: 67.33 kB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.4665, allocations: 461.9 kB / 1.237 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4665, allocations: 29.7 kB / 1.237 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.4667, allocations: 244.2 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.98e-05/0.4668, allocations: 98.55 kB / 1.238 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.4669, allocations: 74.08 kB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.467, allocations: 350.8 kB / 1.238 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4673, allocations: 128.7 kB / 1.238 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.4675, allocations: 190.8 kB / 1.239 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.468, allocations: 299.9 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.468, allocations: 0 / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009528/0.469, allocations: 493.8 kB / 1.239 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.469, allocations: 8.156 kB / 1.239 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.469, allocations: 4 kB / 1.239 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.4694, allocations: 84.8 kB / 1.239 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.4696, allocations: 59.91 kB / 1.239 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.4713, allocations: 1.908 MB / 1.241 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.4716, allocations: 12 kB / 1.241 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.4717, allocations: 11.98 kB / 1.241 GB, free: 7.352 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.0002109/0.4719, allocations: 195.8 kB / 1.241 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.472, allocations: 47.53 kB / 1.242 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.84e-05/0.4721, allocations: 56.67 kB / 1.242 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.4721, allocations: 4 kB / 1.242 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4721, allocations: 0 / 1.242 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4721, allocations: 0 / 1.242 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.4736, allocations: 0.9792 MB / 1.243 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4736, allocations: 4 kB / 1.243 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.474, allocations: 64.09 kB / 1.243 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003006/0.4743, allocations: 80.81 kB / 1.243 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.4743, allocations: 11.94 kB / 1.243 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.4757, allocations: 1.649 MB / 1.244 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4757, allocations: 0 / 1.244 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4767, allocations: 0.5738 MB / 1.245 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.4769, allocations: 152.5 kB / 1.245 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.4769, allocations: 12 kB / 1.245 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.4773, allocations: 15.92 kB / 1.245 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.4774, allocations: 15.97 kB / 1.245 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.4774, allocations: 12 kB / 1.245 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003294/0.4777, allocations: 311.1 kB / 1.245 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4777, allocations: 0 / 1.245 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004917/0.4782, allocations: 120 kB / 1.245 GB, free: 2.82 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.002164/0.4804, allocations: 1.458 MB / 1.247 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007363/0.4811, allocations: 426.5 kB / 1.247 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4812, allocations: 4.312 kB / 1.247 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.4815, allocations: 258.5 kB / 1.248 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.4826, allocations: 242.3 kB / 1.248 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4378/0.9204, allocations: 4.166 MB / 1.252 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.9208, allocations: 0.8541 MB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004101/0.9212, allocations: 77.38 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.9214, allocations: 154.2 kB / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.9214, allocations: 0 / 1.253 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.9577, allocations: 12.78 MB / 1.265 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.274/10.23, allocations: 4.969 kB / 1.265 GB, free: 184.6 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches