Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_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.00109/0.00109, 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.001088/0.001088, allocations: 194.6 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 59.91 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5901/0.5915, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1489/0.7404, allocations: 162.9 MB / 1.177 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004981/0.7454, allocations: 3.475 MB / 1.18 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000607/0.746, allocations: 15.94 kB / 1.18 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008753/0.7469, allocations: 278.4 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.749, allocations: 0.8711 MB / 1.181 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.7502, allocations: 469.9 kB / 1.181 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001351/0.7516, allocations: 1.091 MB / 1.183 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.7521, allocations: 328.1 kB / 1.183 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006664/0.7528, allocations: 398.4 kB / 1.183 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009151/0.7537, allocations: 352.7 kB / 1.184 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-05/0.7538, allocations: 40 kB / 1.184 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.7551, allocations: 0.6937 MB / 1.184 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.7553, allocations: 171.5 kB / 1.184 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.7556, allocations: 274.5 kB / 1.185 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.7568, allocations: 0.927 MB / 1.186 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7568, allocations: 0 / 1.186 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7568, allocations: 0 / 1.186 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.7568, allocations: 0 / 1.186 GB, free: 5.559 MB / 0.9356 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.001251/0.7581, allocations: 0.8718 MB / 1.186 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.7581, allocations: 8.031 kB / 1.186 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.343e-05/0.7582, allocations: 66.53 kB / 1.187 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009929/0.7592, allocations: 155.2 kB / 1.187 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.7598, allocations: 488.9 kB / 1.187 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.7599, allocations: 24.55 kB / 1.187 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.7599, allocations: 31.91 kB / 1.187 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.7605, allocations: 327.6 kB / 1.188 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.7605, allocations: 3.938 kB / 1.188 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.7605, allocations: 12 kB / 1.188 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.7606, allocations: 12.56 kB / 1.188 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.7609, allocations: 226.1 kB / 1.188 GB, free: 3.242 MB / 0.9356 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.001786/0.7627, allocations: 1.41 MB / 1.189 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.7631, allocations: 222.7 kB / 1.189 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.7633, allocations: 108.8 kB / 1.189 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.7633, allocations: 8 kB / 1.189 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002893/0.7636, allocations: 160.8 kB / 1.19 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.7637, allocations: 0 / 1.19 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29): time 0.002762/0.7664, allocations: 1.092 MB / 1.191 GB, free: 40 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.7665, allocations: 63.34 kB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.767, allocations: 457.9 kB / 1.191 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.767, allocations: 37.64 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.7672, allocations: 236.2 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.7673, allocations: 106.6 kB / 1.192 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.7674, allocations: 73.97 kB / 1.192 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7675, allocations: 358.8 kB / 1.192 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.7678, allocations: 124.7 kB / 1.192 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.768, allocations: 186.7 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.7685, allocations: 307.9 kB / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7685, allocations: 0 / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009288/0.7694, allocations: 485.8 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7695, allocations: 12.16 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7695, allocations: 0 / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003372/0.7698, allocations: 80.8 kB / 1.193 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.7701, allocations: 67.91 kB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.7717, allocations: 1.908 MB / 1.195 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.7721, allocations: 11.97 kB / 1.195 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.7721, allocations: 19.94 kB / 1.195 GB, free: 11.33 MB / 0.9512 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.0002051/0.7723, allocations: 199.2 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.7724, allocations: 43.44 kB / 1.195 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.7725, allocations: 64.67 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7725, allocations: 0 / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7725, allocations: 4 kB / 1.195 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.7726, allocations: 0 / 1.195 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.774, allocations: 0.9685 MB / 1.196 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.774, allocations: 4 kB / 1.196 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/0.7744, allocations: 63.95 kB / 1.196 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.7747, allocations: 80.64 kB / 1.196 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.7747, allocations: 15.92 kB / 1.196 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.776, allocations: 1.641 MB / 1.198 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.776, allocations: 3.938 kB / 1.198 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.777, allocations: 0.5699 MB / 1.199 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.7771, allocations: 152.6 kB / 1.199 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.7772, allocations: 4 kB / 1.199 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.7775, allocations: 17.31 kB / 1.199 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.7776, allocations: 27.91 kB / 1.199 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.7776, allocations: 11.98 kB / 1.199 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003079/0.778, allocations: 307.1 kB / 1.199 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.778, allocations: 0 / 1.199 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004911/0.7785, allocations: 124 kB / 1.199 GB, free: 6.801 MB / 0.9512 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.002059/0.7805, allocations: 1.436 MB / 1.201 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.7813, allocations: 442.3 kB / 1.201 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7813, allocations: 4.312 kB / 1.201 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.7816, allocations: 246.6 kB / 1.201 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.7827, allocations: 243.2 kB / 1.202 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.7881, allocations: 4.188 MB / 1.206 GB, free: 260 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.7885, allocations: 0.8504 MB / 1.206 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003368/0.7888, allocations: 84.33 kB / 1.207 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.789, allocations: 159.4 kB / 1.207 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of SimCode: time 2.9e-07/0.789, allocations: 3.938 kB / 1.207 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.8229, allocations: 12.76 MB / 1.219 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.055/9.878, allocations: 1.188 kB / 1.219 GB, free: 2.586 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches