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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005069/0.005069, allocations: 103.5 kB / 15.74 MB, free: 6.043 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.001272/0.001272, allocations: 200.2 kB / 16.68 MB, free: 5.965 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 60.12 kB / 1.083 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7896/1.111, allocations: 162.9 MB / 1.401 GB, free: 12.24 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006079/1.117, allocations: 3.486 MB / 1.404 GB, free: 9.426 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006345/1.118, allocations: 20.09 kB / 1.404 GB, free: 9.418 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009147/1.118, allocations: 274 kB / 1.404 GB, free: 9.207 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/1.121, allocations: 0.8611 MB / 1.405 GB, free: 8.535 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/1.122, allocations: 483.7 kB / 1.406 GB, free: 8.172 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001492/1.123, allocations: 1.095 MB / 1.407 GB, free: 7.531 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004598/1.124, allocations: 333.1 kB / 1.407 GB, free: 7.305 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007259/1.125, allocations: 434.1 kB / 1.407 GB, free: 7.055 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/1.126, allocations: 349.7 kB / 1.408 GB, free: 6.848 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 7.42e-05/1.126, allocations: 40.28 kB / 1.408 GB, free: 6.848 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/1.127, allocations: 0.6921 MB / 1.408 GB, free: 6.477 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/1.127, allocations: 169.5 kB / 1.409 GB, free: 6.359 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003142/1.128, allocations: 275.9 kB / 1.409 GB, free: 6.176 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/1.129, allocations: 0.9395 MB / 1.41 GB, free: 5.562 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.129, allocations: 1.281 kB / 1.41 GB, free: 5.562 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.563e-06/1.129, allocations: 0 / 1.41 GB, free: 5.562 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.217e-06/1.129, allocations: 0 / 1.41 GB, free: 5.562 MB / 1.107 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.001572/1.131, allocations: 0.8828 MB / 1.411 GB, free: 4.816 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.131, allocations: 14.64 kB / 1.411 GB, free: 4.812 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.715e-05/1.131, allocations: 66.86 kB / 1.411 GB, free: 4.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/1.132, allocations: 152.5 kB / 1.411 GB, free: 4.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/1.133, allocations: 0.5145 MB / 1.411 GB, free: 4.242 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/1.133, allocations: 21.69 kB / 1.411 GB, free: 4.234 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/1.133, allocations: 26.97 kB / 1.411 GB, free: 4.227 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/1.134, allocations: 321.2 kB / 1.412 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/1.134, allocations: 1.094 kB / 1.412 GB, free: 4.023 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/1.134, allocations: 14.47 kB / 1.412 GB, free: 4.012 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/1.134, allocations: 14.92 kB / 1.412 GB, free: 4.008 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/1.134, allocations: 220.2 kB / 1.412 GB, free: 3.906 MB / 1.107 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.002156/1.136, allocations: 1.516 MB / 1.413 GB, free: 2.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/1.137, allocations: 233 kB / 1.414 GB, free: 2.363 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/1.137, allocations: 110.1 kB / 1.414 GB, free: 2.305 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/1.137, allocations: 3.375 kB / 1.414 GB, free: 2.305 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/1.137, allocations: 170.9 kB / 1.414 GB, free: 2.18 MB / 1.107 GB Notification: Performance of pre-optimization done (n=26): time 1.973e-06/1.137, allocations: 0 / 1.414 GB, free: 2.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.003035/1.14, allocations: 1.087 MB / 1.415 GB, free: 1.457 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.14, allocations: 62.88 kB / 1.415 GB, free: 1.387 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005693/1.141, allocations: 461.5 kB / 1.415 GB, free: 1.117 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/1.141, allocations: 31.77 kB / 1.415 GB, free: 1.082 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/1.141, allocations: 233.9 kB / 1.416 GB, free: 0.875 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/1.141, allocations: 112.2 kB / 1.416 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/1.141, allocations: 75.75 kB / 1.416 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.142, allocations: 357.2 kB / 1.416 GB, free: 388 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/1.142, allocations: 128.8 kB / 1.416 GB, free: 324 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/1.142, allocations: 182.4 kB / 1.417 GB, free: 200 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/1.143, allocations: 310.9 kB / 1.417 GB, free: 4 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.143, allocations: 1.406 kB / 1.417 GB, free: 4 kB / 1.107 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001036/1.144, allocations: 497.4 kB / 1.417 GB, free: 15.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.144, allocations: 7.219 kB / 1.417 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.144, allocations: 1.406 kB / 1.417 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/1.144, allocations: 81.92 kB / 1.417 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/1.144, allocations: 72.72 kB / 1.417 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/1.147, allocations: 1.905 MB / 1.419 GB, free: 13.85 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/1.147, allocations: 12.06 kB / 1.419 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/1.147, allocations: 18.98 kB / 1.419 GB, free: 13.83 MB / 1.123 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.0002544/1.147, allocations: 184.4 kB / 1.419 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/1.147, allocations: 51.47 kB / 1.42 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/1.147, allocations: 62.95 kB / 1.42 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.147, allocations: 2.547 kB / 1.42 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.147, allocations: 5.266 kB / 1.42 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.147, allocations: 0 / 1.42 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/1.149, allocations: 0.9726 MB / 1.421 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.149, allocations: 4 kB / 1.421 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/1.15, allocations: 70.03 kB / 1.421 GB, free: 12.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003259/1.15, allocations: 75.38 kB / 1.421 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/1.15, allocations: 14.22 kB / 1.421 GB, free: 12.78 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/1.152, allocations: 1.64 MB / 1.422 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.152, allocations: 5.438 kB / 1.422 GB, free: 11.18 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/1.153, allocations: 0.5698 MB / 1.423 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001962/1.153, allocations: 154 kB / 1.423 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/1.153, allocations: 6.844 kB / 1.423 GB, free: 10.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/1.153, allocations: 21.42 kB / 1.423 GB, free: 10.64 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/1.153, allocations: 21.47 kB / 1.423 GB, free: 10.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/1.153, allocations: 11.06 kB / 1.423 GB, free: 10.62 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004107/1.154, allocations: 305.9 kB / 1.423 GB, free: 10.44 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.91e-07/1.154, allocations: 0 / 1.423 GB, free: 10.44 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005816/1.154, allocations: 124.8 kB / 1.423 GB, free: 10.43 MB / 1.123 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.00291/1.157, allocations: 1.454 MB / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008167/1.158, allocations: 429 kB / 1.425 GB, free: 9.129 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.158, allocations: 1.156 kB / 1.425 GB, free: 9.129 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/1.158, allocations: 242.4 kB / 1.426 GB, free: 8.953 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.16, allocations: 235.7 kB / 1.426 GB, free: 8.836 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/1.166, allocations: 4.133 MB / 1.43 GB, free: 6.027 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/1.166, allocations: 0.8548 MB / 1.431 GB, free: 5.238 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000336/1.166, allocations: 88.33 kB / 1.431 GB, free: 5.152 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/1.167, allocations: 159.3 kB / 1.431 GB, free: 4.996 MB / 1.123 GB Notification: Performance of SimCode: time 4.21e-07/1.167, allocations: 0 / 1.431 GB, free: 4.996 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0423/1.209, allocations: 12.89 MB / 1.443 GB, free: 8.316 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.62, allocations: 18.77 kB / 1.443 GB, free: 8.301 MB / 1.139 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 400 --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