Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007876/0.0007876, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007903/0.0007903, 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.8921/0.8921, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.618/1.618, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.787e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.548/0.548, allocations: 143.6 MB / 1.091 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.5512, allocations: 3.323 MB / 1.094 GB, free: 38.88 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003297/0.5515, allocations: 22.97 kB / 1.094 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.5522, allocations: 273.8 kB / 1.094 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.5535, allocations: 0.9538 MB / 1.095 GB, free: 38.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.5541, allocations: 458.9 kB / 1.096 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007807/0.5549, allocations: 1.149 MB / 1.097 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.5551, allocations: 286.4 kB / 1.097 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.5557, allocations: 0.5514 MB / 1.097 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006512/0.5564, allocations: 320.9 kB / 1.098 GB, free: 37.47 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.5564, allocations: 41.53 kB / 1.098 GB, free: 37.47 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006524/0.5571, allocations: 0.5876 MB / 1.098 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.5572, allocations: 185.1 kB / 1.099 GB, free: 37.24 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.5573, allocations: 187.5 kB / 1.099 GB, free: 37.16 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000923/0.5582, allocations: 0.948 MB / 1.1 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5582, allocations: 3.469 kB / 1.1 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5583, allocations: 0 / 1.1 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.5583, allocations: 0 / 1.1 GB, free: 36.89 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.001045/0.5593, allocations: 0.8143 MB / 1.1 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5593, allocations: 8.469 kB / 1.1 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.5594, allocations: 67.86 kB / 1.101 GB, free: 36.25 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006833/0.5601, allocations: 155.1 kB / 1.101 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.5608, allocations: 446.6 kB / 1.101 GB, free: 35.92 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.5608, allocations: 24.31 kB / 1.101 GB, free: 35.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.5609, allocations: 28.08 kB / 1.101 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.5614, allocations: 429.7 kB / 1.102 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5614, allocations: 5.297 kB / 1.102 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.5614, allocations: 11.44 kB / 1.102 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.5615, allocations: 15.12 kB / 1.102 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.5619, allocations: 220.5 kB / 1.102 GB, free: 35.54 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.001333/0.5632, allocations: 0.9626 MB / 1.103 GB, free: 34.94 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.5635, allocations: 209.3 kB / 1.103 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.5636, allocations: 102.3 kB / 1.103 GB, free: 34.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.5637, allocations: 2.781 kB / 1.103 GB, free: 34.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.5639, allocations: 268.3 kB / 1.103 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.5639, allocations: 0 / 1.103 GB, free: 34.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.001891/0.5658, allocations: 1.032 MB / 1.104 GB, free: 34.05 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.5658, allocations: 59.14 kB / 1.104 GB, free: 33.98 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.5662, allocations: 474.8 kB / 1.105 GB, free: 33.77 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.5663, allocations: 36.23 kB / 1.105 GB, free: 33.73 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5664, allocations: 240.5 kB / 1.105 GB, free: 33.54 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.5664, allocations: 103.1 kB / 1.105 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.5665, allocations: 78.94 kB / 1.105 GB, free: 33.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.5666, allocations: 361.3 kB / 1.106 GB, free: 33.07 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.5668, allocations: 132.7 kB / 1.106 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.567, allocations: 188.3 kB / 1.106 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.5673, allocations: 310.2 kB / 1.106 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5673, allocations: 0 / 1.106 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006332/0.568, allocations: 0.4902 MB / 1.107 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.568, allocations: 6.188 kB / 1.107 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.568, allocations: 1.859 kB / 1.107 GB, free: 32.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.5682, allocations: 86.08 kB / 1.107 GB, free: 32.49 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.5684, allocations: 67.02 kB / 1.107 GB, free: 32.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.5694, allocations: 1.793 MB / 1.109 GB, free: 30.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.5696, allocations: 13.22 kB / 1.109 GB, free: 30.87 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.5696, allocations: 10.77 kB / 1.109 GB, free: 30.87 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.0001407/0.5698, allocations: 196.2 kB / 1.109 GB, free: 30.71 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.5698, allocations: 51.27 kB / 1.109 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005525/0.5704, allocations: 408.1 kB / 1.109 GB, free: 30.49 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5704, allocations: 4.094 kB / 1.109 GB, free: 30.49 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5704, allocations: 1.156 kB / 1.109 GB, free: 30.49 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5704, allocations: 6.109 kB / 1.109 GB, free: 30.49 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.5714, allocations: 0.8896 MB / 1.11 GB, free: 29.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5714, allocations: 1.094 kB / 1.11 GB, free: 29.97 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.5716, allocations: 59.55 kB / 1.11 GB, free: 29.97 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001661/0.5718, allocations: 81.88 kB / 1.11 GB, free: 29.94 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.5718, allocations: 14.27 kB / 1.11 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006979/0.5725, allocations: 1.539 MB / 1.112 GB, free: 28.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5725, allocations: 3.938 kB / 1.112 GB, free: 28.53 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006083/0.5731, allocations: 0.5883 MB / 1.112 GB, free: 28.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.5733, allocations: 83.95 kB / 1.112 GB, free: 28.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.5733, allocations: 7.484 kB / 1.112 GB, free: 28.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.5735, allocations: 15.44 kB / 1.112 GB, free: 28.14 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.5735, allocations: 23 kB / 1.112 GB, free: 28.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.5735, allocations: 10.14 kB / 1.113 GB, free: 28.14 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002325/0.5738, allocations: 321 kB / 1.113 GB, free: 27.98 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5738, allocations: 0 / 1.113 GB, free: 27.98 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003504/0.5741, allocations: 127.4 kB / 1.113 GB, free: 27.97 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.00149/0.5756, allocations: 1.477 MB / 1.114 GB, free: 27.03 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004701/0.5761, allocations: 413.6 kB / 1.115 GB, free: 26.81 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5761, allocations: 0 / 1.115 GB, free: 26.81 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.5762, allocations: 246.8 kB / 1.115 GB, free: 26.64 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.5769, allocations: 248.2 kB / 1.115 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.5807, allocations: 4.112 MB / 1.119 GB, free: 24.17 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.5809, allocations: 252.6 kB / 1.119 GB, free: 24.07 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.5811, allocations: 87.31 kB / 1.12 GB, free: 24.04 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.5813, allocations: 162.4 kB / 1.12 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of SimCode: time 4.5e-07/0.5813, allocations: 1.625 kB / 1.12 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0304/0.6117, allocations: 14.7 MB / 1.134 GB, free: 21.58 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.322, allocations: 14.14 kB / 1.134 GB, free: 21.57 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.201026254333556]