Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008336/0.0008336, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008228/0.0008228, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8948/0.8948, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.678e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5581/0.5581, allocations: 143.6 MB / 1.121 GB, free: 16.03 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004055/0.5622, allocations: 3.322 MB / 1.124 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005622/0.5627, allocations: 23.81 kB / 1.124 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.5636, allocations: 277.6 kB / 1.125 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002007/0.5656, allocations: 0.9498 MB / 1.126 GB, free: 13.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009778/0.5666, allocations: 473.7 kB / 1.126 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.5678, allocations: 1.146 MB / 1.127 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.5682, allocations: 279.9 kB / 1.127 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.5689, allocations: 0.5822 MB / 1.128 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007678/0.5697, allocations: 324.6 kB / 1.128 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.5698, allocations: 40.09 kB / 1.128 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009429/0.5707, allocations: 0.5921 MB / 1.129 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.5708, allocations: 178.6 kB / 1.129 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.571, allocations: 188.3 kB / 1.129 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.5721, allocations: 0.9446 MB / 1.13 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5722, allocations: 4.5 kB / 1.13 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5722, allocations: 1 kB / 1.13 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.5722, allocations: 0 / 1.13 GB, free: 11.11 MB / 0.9948 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.001128/0.5733, allocations: 0.8189 MB / 1.131 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5733, allocations: 9.344 kB / 1.131 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.5734, allocations: 62.67 kB / 1.131 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006384/0.574, allocations: 158.8 kB / 1.131 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.5746, allocations: 448.9 kB / 1.132 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.5746, allocations: 19.72 kB / 1.132 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.5746, allocations: 36.19 kB / 1.132 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.5751, allocations: 430.6 kB / 1.132 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5751, allocations: 0 / 1.132 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.5751, allocations: 11.27 kB / 1.132 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.5751, allocations: 11.95 kB / 1.132 GB, free: 9.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.5754, allocations: 224 kB / 1.132 GB, free: 9.746 MB / 0.9948 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.001173/0.5766, allocations: 0.9555 MB / 1.133 GB, free: 9.145 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.5768, allocations: 213.7 kB / 1.133 GB, free: 9.043 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5769, allocations: 105.7 kB / 1.134 GB, free: 8.996 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.577, allocations: 2.688 kB / 1.134 GB, free: 8.996 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.5772, allocations: 267 kB / 1.134 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.5772, allocations: 0 / 1.134 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.001651/0.5788, allocations: 1.037 MB / 1.135 GB, free: 8.242 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.5788, allocations: 54.94 kB / 1.135 GB, free: 8.18 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.5792, allocations: 474 kB / 1.135 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.5792, allocations: 32.02 kB / 1.135 GB, free: 7.926 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5793, allocations: 249 kB / 1.136 GB, free: 7.723 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.5794, allocations: 111.6 kB / 1.136 GB, free: 7.633 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/0.5795, allocations: 75.36 kB / 1.136 GB, free: 7.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.5795, allocations: 357.9 kB / 1.136 GB, free: 7.258 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.5797, allocations: 127.8 kB / 1.136 GB, free: 7.211 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.5799, allocations: 191.9 kB / 1.136 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.5802, allocations: 313.5 kB / 1.137 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5802, allocations: 1.844 kB / 1.137 GB, free: 6.926 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006085/0.5808, allocations: 498.1 kB / 1.137 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5808, allocations: 6 kB / 1.137 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.5808, allocations: 6.031 kB / 1.137 GB, free: 6.699 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.581, allocations: 81.52 kB / 1.137 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.5812, allocations: 62.53 kB / 1.137 GB, free: 6.668 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.5822, allocations: 1.789 MB / 1.139 GB, free: 5.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.5824, allocations: 13.05 kB / 1.139 GB, free: 5.062 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.5824, allocations: 14.58 kB / 1.139 GB, free: 5.059 MB / 0.9948 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.0001511/0.5825, allocations: 189.9 kB / 1.139 GB, free: 4.906 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.5826, allocations: 46.06 kB / 1.139 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.5831, allocations: 417.5 kB / 1.14 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5832, allocations: 4.656 kB / 1.14 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5832, allocations: 1.062 kB / 1.14 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.5832, allocations: 1.219 kB / 1.14 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.5842, allocations: 0.8919 MB / 1.141 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5842, allocations: 9.062 kB / 1.141 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.5844, allocations: 64.08 kB / 1.141 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/0.5845, allocations: 80.78 kB / 1.141 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.5846, allocations: 9.172 kB / 1.141 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008177/0.5854, allocations: 1.536 MB / 1.142 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5854, allocations: 3.938 kB / 1.142 GB, free: 2.711 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.5861, allocations: 0.5816 MB / 1.143 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5862, allocations: 81.08 kB / 1.143 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.5863, allocations: 16.11 kB / 1.143 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.5865, allocations: 13.89 kB / 1.143 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.5865, allocations: 18.61 kB / 1.143 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.5865, allocations: 13.78 kB / 1.143 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002852/0.5868, allocations: 313.3 kB / 1.143 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.5868, allocations: 0 / 1.143 GB, free: 2.176 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004293/0.5872, allocations: 127.4 kB / 1.143 GB, free: 2.16 MB / 0.9948 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 (27): * Single equations (assignments): 24 * 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.001543/0.5888, allocations: 1.493 MB / 1.145 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.5893, allocations: 414.3 kB / 1.145 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5893, allocations: 0 / 1.145 GB, free: 0.9766 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.5895, allocations: 242.3 kB / 1.146 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.5902, allocations: 242.4 kB / 1.146 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/0.5945, allocations: 4.128 MB / 1.15 GB, free: 14.34 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.5948, allocations: 254.4 kB / 1.15 GB, free: 14.24 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002916/0.5951, allocations: 91.86 kB / 1.15 GB, free: 14.21 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.5953, allocations: 163.4 kB / 1.15 GB, free: 14.09 MB / 1.01 GB Notification: Performance of SimCode: time 5.61e-07/0.5953, allocations: 0 / 1.15 GB, free: 14.09 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.6278, allocations: 14.71 MB / 1.165 GB, free: 11.74 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/8.142, allocations: 5.188 kB / 1.165 GB, free: 11.73 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.375454105436802]