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.001686/0.001686, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002234/0.002234, allocations: 217.9 kB / 23.03 MB, free: 4.922 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.789/2.789, allocations: 476.8 MB / 0.7715 GB, free: 3.863 MB / 0.6231 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",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.002016/0.002016, allocations: 71.88 kB / 1.118 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 169.9 MB / 1.284 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1975/0.544, allocations: 143.5 MB / 1.424 GB, free: 3.305 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005807/0.5498, allocations: 3.318 MB / 1.427 GB, free: 15.98 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/0.5501, allocations: 23.81 kB / 1.427 GB, free: 15.95 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008264/0.551, allocations: 274.4 kB / 1.428 GB, free: 15.69 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002173/0.5531, allocations: 0.9405 MB / 1.429 GB, free: 14.75 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.5542, allocations: 450.8 kB / 1.429 GB, free: 14.3 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.5557, allocations: 1.142 MB / 1.43 GB, free: 13.16 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004262/0.5561, allocations: 281.1 kB / 1.43 GB, free: 12.88 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006778/0.5568, allocations: 442.2 kB / 1.431 GB, free: 12.45 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00095/0.5577, allocations: 382.4 kB / 1.431 GB, free: 12.07 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.561e-05/0.5578, allocations: 40 kB / 1.431 GB, free: 12.03 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.5589, allocations: 0.5844 MB / 1.432 GB, free: 11.45 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.5591, allocations: 175.4 kB / 1.432 GB, free: 11.27 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.5594, allocations: 222.9 kB / 1.432 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.5606, allocations: 0.9342 MB / 1.433 GB, free: 10.12 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5607, allocations: 0 / 1.433 GB, free: 10.12 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5607, allocations: 4 kB / 1.433 GB, free: 10.11 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.5607, allocations: 4 kB / 1.433 GB, free: 10.11 MB / 1.139 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.001472/0.5621, allocations: 0.8153 MB / 1.434 GB, free: 9.258 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5622, allocations: 8.031 kB / 1.434 GB, free: 9.25 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.503e-05/0.5622, allocations: 8.656 kB / 1.434 GB, free: 9.242 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.724e-05/0.5623, allocations: 62.53 kB / 1.434 GB, free: 9.172 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.5633, allocations: 159.5 kB / 1.434 GB, free: 9.016 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.5642, allocations: 454.2 kB / 1.435 GB, free: 8.543 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.5642, allocations: 20.66 kB / 1.435 GB, free: 8.523 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.5643, allocations: 31.98 kB / 1.435 GB, free: 8.492 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.5649, allocations: 431.8 kB / 1.435 GB, free: 8.035 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5649, allocations: 4 kB / 1.435 GB, free: 8.031 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.565, allocations: 12 kB / 1.435 GB, free: 8.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.565, allocations: 16.66 kB / 1.435 GB, free: 8.004 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.5655, allocations: 226.4 kB / 1.435 GB, free: 7.781 MB / 1.139 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.001858/0.5673, allocations: 0.9524 MB / 1.436 GB, free: 6.781 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.5677, allocations: 202.8 kB / 1.436 GB, free: 6.574 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.5679, allocations: 108.8 kB / 1.437 GB, free: 6.465 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.568, allocations: 4 kB / 1.437 GB, free: 6.461 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000382/0.5683, allocations: 266.7 kB / 1.437 GB, free: 6.164 MB / 1.139 GB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.5683, allocations: 4 kB / 1.437 GB, free: 6.16 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.002998/0.5713, allocations: 1.039 MB / 1.438 GB, free: 5.086 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.5714, allocations: 59.39 kB / 1.438 GB, free: 5.016 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.572, allocations: 465.9 kB / 1.438 GB, free: 4.559 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.572, allocations: 37.7 kB / 1.438 GB, free: 4.516 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.5722, allocations: 240.5 kB / 1.439 GB, free: 4.273 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.5723, allocations: 107 kB / 1.439 GB, free: 4.168 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.5725, allocations: 82.02 kB / 1.439 GB, free: 4.082 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5727, allocations: 358.8 kB / 1.439 GB, free: 3.723 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.5729, allocations: 128.7 kB / 1.439 GB, free: 3.598 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.5732, allocations: 186.7 kB / 1.439 GB, free: 3.398 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/0.5737, allocations: 315.3 kB / 1.44 GB, free: 3.074 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5737, allocations: 0 / 1.44 GB, free: 3.074 MB / 1.139 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001041/0.5748, allocations: 490.5 kB / 1.44 GB, free: 2.586 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5748, allocations: 11.98 kB / 1.44 GB, free: 2.574 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.5748, allocations: 3.938 kB / 1.44 GB, free: 2.57 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.5752, allocations: 80.8 kB / 1.44 GB, free: 2.488 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.5755, allocations: 63.92 kB / 1.44 GB, free: 2.426 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.5774, allocations: 1.805 MB / 1.442 GB, free: 0.5117 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.5777, allocations: 8.031 kB / 1.442 GB, free: 0.5039 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/0.5778, allocations: 16 kB / 1.442 GB, free: 500 kB / 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.0002487/0.578, allocations: 191.9 kB / 1.442 GB, free: 300 kB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.5781, allocations: 51.78 kB / 1.442 GB, free: 248 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009648/0.5791, allocations: 410.9 kB / 1.443 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.5791, allocations: 3.938 kB / 1.443 GB, free: 15.83 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5791, allocations: 4 kB / 1.443 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.5791, allocations: 0 / 1.443 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.5808, allocations: 0.8928 MB / 1.444 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5808, allocations: 0 / 1.444 GB, free: 14.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.5812, allocations: 67.91 kB / 1.444 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.5815, allocations: 76.78 kB / 1.444 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.5815, allocations: 15.98 kB / 1.444 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.5831, allocations: 1.538 MB / 1.445 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5831, allocations: 0 / 1.445 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.5842, allocations: 0.5919 MB / 1.446 GB, free: 12.45 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.5844, allocations: 75.72 kB / 1.446 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.5845, allocations: 12 kB / 1.446 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.5848, allocations: 8 kB / 1.446 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.5849, allocations: 23.95 kB / 1.446 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.5849, allocations: 15.98 kB / 1.446 GB, free: 12.32 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004055/0.5853, allocations: 311.1 kB / 1.446 GB, free: 12.02 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5853, allocations: 0 / 1.446 GB, free: 12.02 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005714/0.5859, allocations: 127.9 kB / 1.446 GB, free: 11.89 MB / 1.154 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.00314/0.5891, allocations: 1.492 MB / 1.448 GB, free: 10.56 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008488/0.5899, allocations: 406.8 kB / 1.448 GB, free: 10.15 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5899, allocations: 3.938 kB / 1.448 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.5903, allocations: 250.5 kB / 1.448 GB, free: 9.887 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.5916, allocations: 244.6 kB / 1.449 GB, free: 9.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007326/0.5989, allocations: 4.193 MB / 1.453 GB, free: 5.34 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5992, allocations: 255.8 kB / 1.453 GB, free: 5.062 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003942/0.5996, allocations: 84.33 kB / 1.453 GB, free: 4.98 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.5999, allocations: 159.4 kB / 1.453 GB, free: 4.824 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/0.5999, allocations: 0 / 1.453 GB, free: 4.824 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04308/0.643, allocations: 14.28 MB / 1.467 GB, free: 6.836 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.8, allocations: 10.12 kB / 1.467 GB, free: 6.828 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.53924661700148]