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.001745/0.001745, allocations: 110.6 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.00219/0.00219, 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.921/2.921, allocations: 476.7 MB / 0.7707 GB, free: 4.211 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00204/0.00204, allocations: 66.78 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3788, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2252/0.6041, allocations: 166.5 MB / 1.446 GB, free: 4.57 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007308/0.6114, allocations: 3.588 MB / 1.449 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009913/0.6124, allocations: 23.81 kB / 1.449 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.6136, allocations: 290.4 kB / 1.45 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.6173, allocations: 0.9334 MB / 1.451 GB, free: 15.73 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.619, allocations: 462.6 kB / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.6212, allocations: 1.149 MB / 1.452 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.6219, allocations: 276.6 kB / 1.452 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.6231, allocations: 446.2 kB / 1.453 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.6246, allocations: 375 kB / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.6248, allocations: 40 kB / 1.453 GB, free: 13.01 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.6267, allocations: 0.7444 MB / 1.454 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.627, allocations: 183.4 kB / 1.454 GB, free: 12.08 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006007/0.6276, allocations: 274.6 kB / 1.454 GB, free: 11.81 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.6302, allocations: 0.9459 MB / 1.455 GB, free: 10.86 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.6302, allocations: 0 / 1.455 GB, free: 10.86 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6302, allocations: 3.938 kB / 1.455 GB, free: 10.86 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.873e-05/0.6302, allocations: 0 / 1.455 GB, free: 10.86 MB / 1.154 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.002366/0.6326, allocations: 0.827 MB / 1.456 GB, free: 9.996 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.6327, allocations: 12.03 kB / 1.456 GB, free: 9.984 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.6328, allocations: 66.53 kB / 1.456 GB, free: 9.91 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.634, allocations: 151.5 kB / 1.456 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6351, allocations: 450.2 kB / 1.457 GB, free: 9.301 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.6351, allocations: 28.59 kB / 1.457 GB, free: 9.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.6352, allocations: 31.98 kB / 1.457 GB, free: 9.238 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.6358, allocations: 329 kB / 1.457 GB, free: 8.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.6358, allocations: 0 / 1.457 GB, free: 8.91 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.6359, allocations: 12 kB / 1.457 GB, free: 8.898 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.6359, allocations: 12.66 kB / 1.457 GB, free: 8.887 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.6364, allocations: 226.4 kB / 1.457 GB, free: 8.66 MB / 1.154 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.002524/0.6389, allocations: 1.372 MB / 1.459 GB, free: 7.16 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/0.6393, allocations: 206.8 kB / 1.459 GB, free: 6.949 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.6395, allocations: 104.8 kB / 1.459 GB, free: 6.844 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.6396, allocations: 7.938 kB / 1.459 GB, free: 6.836 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.6399, allocations: 153.5 kB / 1.459 GB, free: 6.676 MB / 1.154 GB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.6399, allocations: 4 kB / 1.459 GB, free: 6.672 MB / 1.154 GB Notification: Performance of matching and sorting (n=29): time 0.003122/0.643, allocations: 1.029 MB / 1.46 GB, free: 5.605 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.6431, allocations: 59.34 kB / 1.46 GB, free: 5.535 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006649/0.6437, allocations: 465.9 kB / 1.461 GB, free: 5.074 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.6438, allocations: 33.7 kB / 1.461 GB, free: 5.035 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.644, allocations: 248.5 kB / 1.461 GB, free: 4.785 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.6441, allocations: 111 kB / 1.461 GB, free: 4.676 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.6443, allocations: 78.02 kB / 1.461 GB, free: 4.594 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6445, allocations: 354.8 kB / 1.462 GB, free: 4.238 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.6447, allocations: 128.7 kB / 1.462 GB, free: 4.113 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.645, allocations: 182.7 kB / 1.462 GB, free: 3.918 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.6455, allocations: 315.3 kB / 1.462 GB, free: 3.594 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6455, allocations: 0 / 1.462 GB, free: 3.594 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001118/0.6467, allocations: 490.4 kB / 1.463 GB, free: 3.105 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6467, allocations: 4 kB / 1.463 GB, free: 3.102 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.6467, allocations: 7.984 kB / 1.463 GB, free: 3.094 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.6471, allocations: 84.95 kB / 1.463 GB, free: 3.008 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.6474, allocations: 71.84 kB / 1.463 GB, free: 2.938 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.6496, allocations: 1.801 MB / 1.465 GB, free: 1.027 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.65, allocations: 8.031 kB / 1.465 GB, free: 1.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.65, allocations: 19.98 kB / 1.465 GB, free: 1 MB / 1.154 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.0003277/0.6504, allocations: 189.8 kB / 1.465 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.6505, allocations: 47.72 kB / 1.465 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.6515, allocations: 411.1 kB / 1.465 GB, free: 356 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.6515, allocations: 3.938 kB / 1.465 GB, free: 352 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6515, allocations: 8 kB / 1.465 GB, free: 344 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6515, allocations: 3.984 kB / 1.465 GB, free: 340 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.6533, allocations: 0.9434 MB / 1.466 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6533, allocations: 0 / 1.466 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.6537, allocations: 59.91 kB / 1.466 GB, free: 15.28 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/0.654, allocations: 84.78 kB / 1.466 GB, free: 15.19 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.654, allocations: 8 kB / 1.466 GB, free: 15.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.6557, allocations: 1.549 MB / 1.468 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6557, allocations: 4 kB / 1.468 GB, free: 13.51 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.6568, allocations: 0.572 MB / 1.468 GB, free: 12.92 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/0.6571, allocations: 79.72 kB / 1.468 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.6571, allocations: 8 kB / 1.468 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.6575, allocations: 11.98 kB / 1.468 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.6576, allocations: 19.97 kB / 1.468 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.6576, allocations: 11.98 kB / 1.468 GB, free: 12.79 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004352/0.658, allocations: 311.1 kB / 1.469 GB, free: 12.49 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/0.658, allocations: 0 / 1.469 GB, free: 12.49 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006158/0.6587, allocations: 127.9 kB / 1.469 GB, free: 12.37 MB / 1.17 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.003075/0.6617, allocations: 1.453 MB / 1.47 GB, free: 11.05 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008649/0.6626, allocations: 406.7 kB / 1.471 GB, free: 10.64 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.6626, allocations: 0 / 1.471 GB, free: 10.64 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.663, allocations: 242.5 kB / 1.471 GB, free: 10.39 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.6642, allocations: 252.2 kB / 1.471 GB, free: 10.16 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007277/0.6715, allocations: 4.166 MB / 1.475 GB, free: 5.875 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.6721, allocations: 0.858 MB / 1.476 GB, free: 4.992 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.6725, allocations: 80.33 kB / 1.476 GB, free: 4.914 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.6728, allocations: 159.4 kB / 1.476 GB, free: 4.758 MB / 1.17 GB Notification: Performance of SimCode: time 1.904e-06/0.6728, allocations: 4 kB / 1.476 GB, free: 4.754 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/0.7298, allocations: 13.36 MB / 1.489 GB, free: 7.57 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.35, allocations: 8 kB / 1.489 GB, free: 7.562 MB / 1.186 GB " [Timeout remaining time 286] (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/jenkins1/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: 20.42544081294909]