Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001868/0.001868, 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.002321/0.002321, 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.322/3.322, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_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.002096/0.002096, allocations: 68.53 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4433, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2075/0.6509, allocations: 143.6 MB / 1.504 GB, free: 13.97 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007104/0.658, allocations: 3.339 MB / 1.507 GB, free: 10.62 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008752/0.6588, allocations: 23.81 kB / 1.507 GB, free: 10.6 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.6599, allocations: 262.5 kB / 1.507 GB, free: 10.34 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.6628, allocations: 0.9373 MB / 1.508 GB, free: 9.402 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.6641, allocations: 450.8 kB / 1.508 GB, free: 8.961 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.6661, allocations: 1.138 MB / 1.51 GB, free: 7.82 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005149/0.6666, allocations: 268.7 kB / 1.51 GB, free: 7.551 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009097/0.6675, allocations: 474.2 kB / 1.51 GB, free: 7.086 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.6686, allocations: 356.7 kB / 1.511 GB, free: 6.738 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 8.164e-05/0.6687, allocations: 40 kB / 1.511 GB, free: 6.699 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.6701, allocations: 0.5844 MB / 1.511 GB, free: 6.113 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.6703, allocations: 171.4 kB / 1.511 GB, free: 5.945 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.6706, allocations: 226.9 kB / 1.512 GB, free: 5.723 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.6721, allocations: 0.9381 MB / 1.513 GB, free: 4.781 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6721, allocations: 3.938 kB / 1.513 GB, free: 4.777 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6721, allocations: 0 / 1.513 GB, free: 4.777 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.6722, allocations: 0 / 1.513 GB, free: 4.777 MB / 1.201 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.001623/0.6738, allocations: 0.8192 MB / 1.513 GB, free: 3.926 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.6738, allocations: 12.03 kB / 1.513 GB, free: 3.914 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.841e-05/0.6739, allocations: 66.47 kB / 1.513 GB, free: 3.84 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.675, allocations: 155.5 kB / 1.514 GB, free: 3.688 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008862/0.6758, allocations: 446.2 kB / 1.514 GB, free: 3.227 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.6759, allocations: 20.66 kB / 1.514 GB, free: 3.207 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.6759, allocations: 36 kB / 1.514 GB, free: 3.172 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006893/0.6766, allocations: 427.9 kB / 1.514 GB, free: 2.715 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.6766, allocations: 3.938 kB / 1.514 GB, free: 2.711 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.6767, allocations: 12 kB / 1.514 GB, free: 2.699 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.6767, allocations: 8.656 kB / 1.514 GB, free: 2.691 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004498/0.6772, allocations: 234.4 kB / 1.515 GB, free: 2.465 MB / 1.201 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.002019/0.6792, allocations: 0.9602 MB / 1.516 GB, free: 1.457 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.6796, allocations: 220.3 kB / 1.516 GB, free: 1.234 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.6798, allocations: 101.9 kB / 1.516 GB, free: 1.133 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.6799, allocations: 4 kB / 1.516 GB, free: 1.129 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.6803, allocations: 272.2 kB / 1.516 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 2.495e-06/0.6803, allocations: 0 / 1.516 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.0031/0.6834, allocations: 1.024 MB / 1.517 GB, free: 15.76 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.6834, allocations: 59.34 kB / 1.517 GB, free: 15.69 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006709/0.6841, allocations: 477.9 kB / 1.518 GB, free: 15.22 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.6842, allocations: 33.7 kB / 1.518 GB, free: 15.18 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.6844, allocations: 244.5 kB / 1.518 GB, free: 14.94 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.6845, allocations: 107 kB / 1.518 GB, free: 14.83 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.6847, allocations: 78.06 kB / 1.518 GB, free: 14.75 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.6849, allocations: 358.8 kB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.6851, allocations: 132.7 kB / 1.519 GB, free: 14.26 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.6854, allocations: 178.9 kB / 1.519 GB, free: 14.07 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.6859, allocations: 303.9 kB / 1.519 GB, free: 13.76 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.6859, allocations: 0 / 1.519 GB, free: 13.76 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001042/0.687, allocations: 0.4906 MB / 1.52 GB, free: 13.26 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.687, allocations: 5.875 kB / 1.52 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.687, allocations: 0 / 1.52 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003956/0.6874, allocations: 96.88 kB / 1.52 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/0.6877, allocations: 59.92 kB / 1.52 GB, free: 13.1 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.6898, allocations: 1.793 MB / 1.521 GB, free: 11.19 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.6903, allocations: 12.09 kB / 1.521 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.6903, allocations: 19.98 kB / 1.522 GB, free: 11.16 MB / 1.217 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.0003266/0.6906, allocations: 197.6 kB / 1.522 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.531e-05/0.6907, allocations: 51.69 kB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000969/0.6917, allocations: 410.9 kB / 1.522 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.6917, allocations: 11.94 kB / 1.522 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6917, allocations: 0 / 1.522 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6917, allocations: 0 / 1.522 GB, free: 10.48 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.6934, allocations: 0.8853 MB / 1.523 GB, free: 9.543 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6934, allocations: 0 / 1.523 GB, free: 9.543 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.6938, allocations: 67.91 kB / 1.523 GB, free: 9.477 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003282/0.6941, allocations: 76.78 kB / 1.523 GB, free: 9.398 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.6941, allocations: 12 kB / 1.523 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.6958, allocations: 1.545 MB / 1.525 GB, free: 7.727 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6958, allocations: 0 / 1.525 GB, free: 7.727 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.697, allocations: 0.588 MB / 1.525 GB, free: 7.117 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.6972, allocations: 75.72 kB / 1.525 GB, free: 7.043 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.6973, allocations: 8 kB / 1.525 GB, free: 7.035 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.6976, allocations: 8.234 kB / 1.525 GB, free: 7.027 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.833e-05/0.6977, allocations: 32 kB / 1.525 GB, free: 6.996 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.6978, allocations: 11.98 kB / 1.525 GB, free: 6.984 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004635/0.6982, allocations: 315.1 kB / 1.526 GB, free: 6.676 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6982, allocations: 4 kB / 1.526 GB, free: 6.672 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006117/0.6988, allocations: 123.9 kB / 1.526 GB, free: 6.551 MB / 1.217 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.003173/0.702, allocations: 1.481 MB / 1.527 GB, free: 5.227 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008625/0.7029, allocations: 406.7 kB / 1.528 GB, free: 4.816 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7029, allocations: 4.062 kB / 1.528 GB, free: 4.812 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.7032, allocations: 247 kB / 1.528 GB, free: 4.559 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.7045, allocations: 243.4 kB / 1.528 GB, free: 4.332 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006939/0.7114, allocations: 4.193 MB / 1.532 GB, free: 16 kB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.7117, allocations: 255.8 kB / 1.532 GB, free: 15.74 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004467/0.7122, allocations: 88.34 kB / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.7125, allocations: 155.4 kB / 1.533 GB, free: 15.5 MB / 1.232 GB Notification: Performance of SimCode: time 1.293e-06/0.7125, allocations: 0 / 1.533 GB, free: 15.5 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05436/0.7668, allocations: 14.61 MB / 1.547 GB, free: 1.125 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.29, allocations: 5.969 kB / 1.547 GB, free: 1.121 MB / 1.232 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.456537504214793]