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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.36/3.36, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 69.72 kB / 1.177 GB, free: 17.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3988, allocations: 180.2 MB / 1.353 GB, free: 8.637 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2068/0.6056, allocations: 166.5 MB / 1.515 GB, free: 1.504 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007386/0.6129, allocations: 3.589 MB / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007985/0.6137, allocations: 27.75 kB / 1.519 GB, free: 13.88 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.000998/0.6147, allocations: 282.4 kB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.6174, allocations: 0.9412 MB / 1.52 GB, free: 12.66 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.6187, allocations: 453 kB / 1.521 GB, free: 12.21 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.6206, allocations: 1.153 MB / 1.522 GB, free: 11.06 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/0.621, allocations: 284.5 kB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009236/0.622, allocations: 474.3 kB / 1.522 GB, free: 10.3 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.6231, allocations: 380.2 kB / 1.523 GB, free: 9.934 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 8.657e-05/0.6232, allocations: 40 kB / 1.523 GB, free: 9.895 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.6249, allocations: 0.7405 MB / 1.524 GB, free: 9.152 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.6251, allocations: 175.4 kB / 1.524 GB, free: 8.98 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003649/0.6255, allocations: 278.6 kB / 1.524 GB, free: 8.707 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.6273, allocations: 0.9498 MB / 1.525 GB, free: 7.754 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6273, allocations: 3.938 kB / 1.525 GB, free: 7.75 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6273, allocations: 0 / 1.525 GB, free: 7.75 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.6273, allocations: 4 kB / 1.525 GB, free: 7.746 MB / 1.217 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.001732/0.629, allocations: 0.8192 MB / 1.526 GB, free: 6.891 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.6291, allocations: 8.031 kB / 1.526 GB, free: 6.883 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.935e-05/0.6292, allocations: 62.53 kB / 1.526 GB, free: 6.812 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.6302, allocations: 151.5 kB / 1.526 GB, free: 6.664 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.6311, allocations: 450.2 kB / 1.526 GB, free: 6.203 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.6311, allocations: 28.64 kB / 1.526 GB, free: 6.172 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.6312, allocations: 31.98 kB / 1.526 GB, free: 6.141 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/0.6318, allocations: 325 kB / 1.527 GB, free: 5.812 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.6318, allocations: 4 kB / 1.527 GB, free: 5.809 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.6318, allocations: 12 kB / 1.527 GB, free: 5.797 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.6319, allocations: 8.656 kB / 1.527 GB, free: 5.789 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.6323, allocations: 222.4 kB / 1.527 GB, free: 5.57 MB / 1.217 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.002369/0.6347, allocations: 1.477 MB / 1.528 GB, free: 3.941 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.6351, allocations: 214.7 kB / 1.529 GB, free: 3.723 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.6353, allocations: 104.8 kB / 1.529 GB, free: 3.617 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.6353, allocations: 7.984 kB / 1.529 GB, free: 3.609 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.6357, allocations: 179.1 kB / 1.529 GB, free: 3.422 MB / 1.217 GB Notification: Performance of pre-optimization done (n=26): time 2.274e-06/0.6357, allocations: 0 / 1.529 GB, free: 3.422 MB / 1.217 GB Notification: Performance of matching and sorting (n=29): time 0.00309/0.6388, allocations: 1.017 MB / 1.53 GB, free: 2.363 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.6388, allocations: 59.34 kB / 1.53 GB, free: 2.293 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.6394, allocations: 477.8 kB / 1.53 GB, free: 1.824 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.6395, allocations: 33.7 kB / 1.53 GB, free: 1.785 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.6397, allocations: 248.5 kB / 1.531 GB, free: 1.535 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.6398, allocations: 103.1 kB / 1.531 GB, free: 1.434 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.6399, allocations: 78.03 kB / 1.531 GB, free: 1.352 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.6402, allocations: 358.8 kB / 1.531 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.6404, allocations: 128.7 kB / 1.531 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.6408, allocations: 182.7 kB / 1.531 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.6413, allocations: 311.3 kB / 1.532 GB, free: 360 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6413, allocations: 0 / 1.532 GB, free: 360 kB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00107/0.6423, allocations: 494.4 kB / 1.532 GB, free: 15.86 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6424, allocations: 8 kB / 1.532 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6424, allocations: 0 / 1.532 GB, free: 15.85 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.6428, allocations: 80.95 kB / 1.532 GB, free: 15.77 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.643, allocations: 67.91 kB / 1.532 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.6452, allocations: 1.805 MB / 1.534 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.6457, allocations: 12.03 kB / 1.534 GB, free: 13.78 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.6457, allocations: 12 kB / 1.534 GB, free: 13.77 MB / 1.232 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.0003021/0.646, allocations: 199.5 kB / 1.534 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.6461, allocations: 51.67 kB / 1.534 GB, free: 13.51 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009717/0.6471, allocations: 395.2 kB / 1.535 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6471, allocations: 7.938 kB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6471, allocations: 4 kB / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6471, allocations: 0 / 1.535 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.6489, allocations: 0.9476 MB / 1.536 GB, free: 12.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6489, allocations: 3.984 kB / 1.536 GB, free: 12.1 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.6493, allocations: 63.91 kB / 1.536 GB, free: 12.04 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.6496, allocations: 76.8 kB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.6497, allocations: 11.98 kB / 1.536 GB, free: 11.95 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.6513, allocations: 1.549 MB / 1.537 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6513, allocations: 0 / 1.537 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.6525, allocations: 0.571 MB / 1.538 GB, free: 9.688 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.6527, allocations: 71.73 kB / 1.538 GB, free: 9.617 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.339e-05/0.6528, allocations: 11.98 kB / 1.538 GB, free: 9.605 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.6531, allocations: 8 kB / 1.538 GB, free: 9.598 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.6532, allocations: 27.95 kB / 1.538 GB, free: 9.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.6532, allocations: 8 kB / 1.538 GB, free: 9.562 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004134/0.6536, allocations: 315.1 kB / 1.538 GB, free: 9.254 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6536, allocations: 0 / 1.538 GB, free: 9.254 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005854/0.6542, allocations: 123.9 kB / 1.539 GB, free: 9.133 MB / 1.232 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.003109/0.6573, allocations: 1.462 MB / 1.54 GB, free: 7.805 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009176/0.6583, allocations: 410.4 kB / 1.54 GB, free: 7.391 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6583, allocations: 0 / 1.54 GB, free: 7.391 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.6586, allocations: 238.5 kB / 1.541 GB, free: 7.145 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.66, allocations: 246.5 kB / 1.541 GB, free: 6.914 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007109/0.6671, allocations: 4.17 MB / 1.545 GB, free: 2.621 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.6677, allocations: 0.858 MB / 1.546 GB, free: 1.734 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004037/0.6681, allocations: 80.34 kB / 1.546 GB, free: 1.656 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.6684, allocations: 151.4 kB / 1.546 GB, free: 1.508 MB / 1.232 GB Notification: Performance of SimCode: time 7.31e-07/0.6684, allocations: 4 kB / 1.546 GB, free: 1.504 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05392/0.7223, allocations: 13.38 MB / 1.559 GB, free: 4.281 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.02, allocations: 5.141 kB / 1.559 GB, free: 4.277 MB / 1.248 GB " [Timeout remaining time 287] (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 800 --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) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable vol.T_start in file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.360144647000197]