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.001881/0.001881, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002666/0.002666, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.797 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.924/2.924, allocations: 476 MB / 0.7699 GB, free: 4.777 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.002136/0.002136, allocations: 65.92 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3393, allocations: 170 MB / 1.283 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1916/0.5309, allocations: 143.6 MB / 1.423 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006039/0.5369, allocations: 3.331 MB / 1.426 GB, free: 9.055 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.5375, allocations: 23.81 kB / 1.426 GB, free: 9.031 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.5384, allocations: 270.5 kB / 1.426 GB, free: 8.766 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.5407, allocations: 0.9359 MB / 1.427 GB, free: 7.828 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.5418, allocations: 446.8 kB / 1.428 GB, free: 7.391 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.5433, allocations: 1.134 MB / 1.429 GB, free: 6.254 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.5438, allocations: 276.5 kB / 1.429 GB, free: 5.977 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007026/0.5445, allocations: 430.3 kB / 1.429 GB, free: 5.555 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009527/0.5454, allocations: 358.2 kB / 1.43 GB, free: 5.207 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.5455, allocations: 40 kB / 1.43 GB, free: 5.168 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.5467, allocations: 0.5883 MB / 1.43 GB, free: 4.578 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.5469, allocations: 175.4 kB / 1.431 GB, free: 4.406 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.5472, allocations: 218.9 kB / 1.431 GB, free: 4.191 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.5484, allocations: 0.9303 MB / 1.432 GB, free: 3.258 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5484, allocations: 0 / 1.432 GB, free: 3.258 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5484, allocations: 0 / 1.432 GB, free: 3.258 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.5485, allocations: 0 / 1.432 GB, free: 3.258 MB / 1.123 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.001546/0.55, allocations: 0.8309 MB / 1.432 GB, free: 2.391 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.55, allocations: 8.031 kB / 1.432 GB, free: 2.383 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.965e-05/0.5501, allocations: 62.53 kB / 1.433 GB, free: 2.312 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.5512, allocations: 163.5 kB / 1.433 GB, free: 2.152 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008842/0.552, allocations: 454.2 kB / 1.433 GB, free: 1.684 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.5521, allocations: 24.66 kB / 1.433 GB, free: 1.656 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.5521, allocations: 24 kB / 1.433 GB, free: 1.633 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.5528, allocations: 423.9 kB / 1.434 GB, free: 1.184 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.5528, allocations: 3.984 kB / 1.434 GB, free: 1.18 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.5529, allocations: 19.98 kB / 1.434 GB, free: 1.16 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.5529, allocations: 12.66 kB / 1.434 GB, free: 1.148 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000444/0.5533, allocations: 226.4 kB / 1.434 GB, free: 0.9258 MB / 1.123 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.001924/0.5553, allocations: 0.9524 MB / 1.435 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.5557, allocations: 210.8 kB / 1.435 GB, free: 15.71 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.5559, allocations: 104.8 kB / 1.435 GB, free: 15.61 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.5559, allocations: 4 kB / 1.435 GB, free: 15.6 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.5563, allocations: 268.5 kB / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.5563, allocations: 0 / 1.435 GB, free: 15.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.002972/0.5593, allocations: 1.032 MB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.5593, allocations: 59.34 kB / 1.436 GB, free: 14.16 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005851/0.5599, allocations: 477.9 kB / 1.437 GB, free: 13.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.5599, allocations: 33.7 kB / 1.437 GB, free: 13.66 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.5602, allocations: 240.6 kB / 1.437 GB, free: 13.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5603, allocations: 107 kB / 1.437 GB, free: 13.31 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.5604, allocations: 74.03 kB / 1.437 GB, free: 13.23 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.5606, allocations: 358.8 kB / 1.438 GB, free: 12.87 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.5609, allocations: 132.7 kB / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.5611, allocations: 186.6 kB / 1.438 GB, free: 12.54 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.5617, allocations: 315.4 kB / 1.438 GB, free: 12.22 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5617, allocations: 0 / 1.438 GB, free: 12.22 MB / 1.139 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001017/0.5627, allocations: 498.5 kB / 1.439 GB, free: 11.72 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5627, allocations: 4 kB / 1.439 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5627, allocations: 4 kB / 1.439 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003713/0.5631, allocations: 80.8 kB / 1.439 GB, free: 11.63 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.5634, allocations: 63.91 kB / 1.439 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.5653, allocations: 1.801 MB / 1.441 GB, free: 9.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.5657, allocations: 8.031 kB / 1.441 GB, free: 9.652 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.5657, allocations: 16 kB / 1.441 GB, free: 9.637 MB / 1.139 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.0002533/0.566, allocations: 195.7 kB / 1.441 GB, free: 9.438 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.5661, allocations: 43.72 kB / 1.441 GB, free: 9.395 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009601/0.567, allocations: 415.2 kB / 1.441 GB, free: 8.98 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.567, allocations: 7.938 kB / 1.441 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.567, allocations: 0 / 1.441 GB, free: 8.973 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.567, allocations: 3.984 kB / 1.441 GB, free: 8.969 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.5687, allocations: 0.8967 MB / 1.442 GB, free: 8.02 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5687, allocations: 0 / 1.442 GB, free: 8.02 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.5691, allocations: 71.89 kB / 1.442 GB, free: 7.949 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003335/0.5694, allocations: 68.8 kB / 1.442 GB, free: 7.879 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.5695, allocations: 15.98 kB / 1.442 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.571, allocations: 1.541 MB / 1.444 GB, free: 6.203 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.571, allocations: 7.969 kB / 1.444 GB, free: 6.195 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.5722, allocations: 0.5878 MB / 1.444 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.5724, allocations: 75.72 kB / 1.444 GB, free: 5.512 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.5725, allocations: 12 kB / 1.444 GB, free: 5.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.5728, allocations: 11.98 kB / 1.444 GB, free: 5.488 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.5729, allocations: 19.97 kB / 1.444 GB, free: 5.469 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.5729, allocations: 11.98 kB / 1.444 GB, free: 5.457 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004098/0.5733, allocations: 315.1 kB / 1.445 GB, free: 5.152 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5733, allocations: 4 kB / 1.445 GB, free: 5.148 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005368/0.5739, allocations: 123.9 kB / 1.445 GB, free: 5.027 MB / 1.139 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.003092/0.577, allocations: 1.486 MB / 1.446 GB, free: 3.699 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008202/0.5778, allocations: 418.3 kB / 1.447 GB, free: 3.277 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5778, allocations: 0 / 1.447 GB, free: 3.277 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.5781, allocations: 242.6 kB / 1.447 GB, free: 3.027 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5793, allocations: 252.1 kB / 1.447 GB, free: 2.797 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/0.5859, allocations: 4.183 MB / 1.451 GB, free: 14.5 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5862, allocations: 259.8 kB / 1.452 GB, free: 14.22 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003681/0.5865, allocations: 80.38 kB / 1.452 GB, free: 14.14 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.5869, allocations: 159.4 kB / 1.452 GB, free: 13.98 MB / 1.154 GB Notification: Performance of SimCode: time 5.91e-07/0.5869, allocations: 0 / 1.452 GB, free: 13.98 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06772/0.6546, allocations: 14.6 MB / 1.466 GB, free: 15.62 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.05, allocations: 6.188 kB / 1.466 GB, free: 15.62 MB / 1.17 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.13628212362528]