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.007497/0.007497, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001899/0.001899, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.753/2.753, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.89 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2761, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7072/0.9834, allocations: 162.9 MB / 1.325 GB, free: 6.801 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005761/0.9892, allocations: 3.469 MB / 1.329 GB, free: 4.359 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004595/0.9896, allocations: 20.84 kB / 1.329 GB, free: 4.352 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000854/0.9905, allocations: 281.8 kB / 1.329 GB, free: 4.207 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.9928, allocations: 0.8534 MB / 1.33 GB, free: 3.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.9941, allocations: 482.3 kB / 1.33 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.9956, allocations: 1.092 MB / 1.331 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.996, allocations: 331.1 kB / 1.332 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.9967, allocations: 404.8 kB / 1.332 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008741/0.9976, allocations: 346.2 kB / 1.332 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.9977, allocations: 40.09 kB / 1.332 GB, free: 2.477 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.9991, allocations: 0.6992 MB / 1.333 GB, free: 2.199 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.9993, allocations: 175.2 kB / 1.333 GB, free: 2.117 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.9996, allocations: 271.1 kB / 1.333 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/1.001, allocations: 0.9397 MB / 1.334 GB, free: 1.617 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.001, allocations: 1.375 kB / 1.334 GB, free: 1.617 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/1.001, allocations: 0 / 1.334 GB, free: 1.617 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.286e-06/1.001, allocations: 0 / 1.334 GB, free: 1.617 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.001499/1.002, allocations: 0.8835 MB / 1.335 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/1.003, allocations: 10.5 kB / 1.335 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.252e-05/1.003, allocations: 66.12 kB / 1.335 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/1.004, allocations: 157.4 kB / 1.335 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/1.004, allocations: 0.5001 MB / 1.336 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/1.004, allocations: 24.12 kB / 1.336 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/1.005, allocations: 27.47 kB / 1.336 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/1.005, allocations: 321 kB / 1.336 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/1.005, allocations: 0 / 1.336 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/1.005, allocations: 19.38 kB / 1.336 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/1.005, allocations: 11.94 kB / 1.336 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/1.006, allocations: 219.4 kB / 1.337 GB, free: 224 kB / 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.00198/1.008, allocations: 1.42 MB / 1.338 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/1.008, allocations: 220.3 kB / 1.338 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/1.008, allocations: 111 kB / 1.338 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.008, allocations: 3.438 kB / 1.338 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002988/1.009, allocations: 172.5 kB / 1.338 GB, free: 14.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/1.009, allocations: 0 / 1.338 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.002809/1.011, allocations: 1.09 MB / 1.339 GB, free: 14.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1.011, allocations: 58.84 kB / 1.34 GB, free: 14.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/1.012, allocations: 460.5 kB / 1.34 GB, free: 14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/1.012, allocations: 38.41 kB / 1.34 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/1.012, allocations: 239.2 kB / 1.34 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/1.012, allocations: 104.6 kB / 1.34 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/1.013, allocations: 78.95 kB / 1.34 GB, free: 13.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.013, allocations: 355.6 kB / 1.341 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/1.013, allocations: 128.7 kB / 1.341 GB, free: 13.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/1.013, allocations: 184 kB / 1.341 GB, free: 13.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/1.014, allocations: 304 kB / 1.341 GB, free: 12.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.014, allocations: 4 kB / 1.341 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009768/1.015, allocations: 493.2 kB / 1.342 GB, free: 12.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.015, allocations: 6.625 kB / 1.342 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.015, allocations: 1.531 kB / 1.342 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/1.015, allocations: 84.92 kB / 1.342 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/1.015, allocations: 68.31 kB / 1.342 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/1.017, allocations: 1.913 MB / 1.344 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/1.018, allocations: 9.812 kB / 1.344 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/1.018, allocations: 20.92 kB / 1.344 GB, free: 10.96 MB / 1.029 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.0002485/1.018, allocations: 194.7 kB / 1.344 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/1.018, allocations: 53.28 kB / 1.344 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/1.018, allocations: 55.12 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.018, allocations: 7.656 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.018, allocations: 3.922 kB / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.018, allocations: 0 / 1.344 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/1.02, allocations: 0.9608 MB / 1.345 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/1.02, allocations: 1.969 kB / 1.345 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/1.02, allocations: 61.88 kB / 1.345 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/1.021, allocations: 77.22 kB / 1.345 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/1.021, allocations: 21.77 kB / 1.345 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/1.022, allocations: 1.644 MB / 1.347 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.022, allocations: 0 / 1.347 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/1.023, allocations: 0.5671 MB / 1.347 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/1.024, allocations: 156.5 kB / 1.348 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/1.024, allocations: 10.11 kB / 1.348 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/1.024, allocations: 12.16 kB / 1.348 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/1.024, allocations: 21.83 kB / 1.348 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/1.024, allocations: 13.44 kB / 1.348 GB, free: 8.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003621/1.024, allocations: 312.2 kB / 1.348 GB, free: 7.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 0 / 1.348 GB, free: 7.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005433/1.025, allocations: 122.9 kB / 1.348 GB, free: 7.934 MB / 1.029 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.002834/1.028, allocations: 1.455 MB / 1.349 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007602/1.029, allocations: 426.8 kB / 1.35 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.029, allocations: 1.125 kB / 1.35 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003328/1.029, allocations: 252.2 kB / 1.35 GB, free: 6.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.03, allocations: 242.2 kB / 1.35 GB, free: 6.496 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/1.036, allocations: 4.128 MB / 1.354 GB, free: 4.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/1.037, allocations: 0.856 MB / 1.355 GB, free: 3.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003726/1.037, allocations: 86.14 kB / 1.355 GB, free: 3.316 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/1.037, allocations: 148.4 kB / 1.355 GB, free: 3.211 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/1.037, allocations: 0 / 1.355 GB, free: 3.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04181/1.079, allocations: 12.89 MB / 1.368 GB, free: 14.13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.86, allocations: 2.969 kB / 1.368 GB, free: 14.13 MB / 1.045 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