Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001284/0.001284, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001544/0.001544, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.244/3.244, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_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.002043/0.002043, allocations: 76.2 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4362, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2009/0.6371, allocations: 143.6 MB / 1.465 GB, free: 2.223 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006882/0.644, allocations: 3.337 MB / 1.469 GB, free: 14.88 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000847/0.6448, allocations: 27.81 kB / 1.469 GB, free: 14.85 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.6459, allocations: 266.5 kB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.649, allocations: 0.9334 MB / 1.47 GB, free: 13.65 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.6505, allocations: 450.9 kB / 1.47 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.6525, allocations: 1.13 MB / 1.471 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006129/0.6532, allocations: 276.6 kB / 1.472 GB, free: 11.8 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.6542, allocations: 466.2 kB / 1.472 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.6555, allocations: 360.4 kB / 1.472 GB, free: 10.99 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.6557, allocations: 44 kB / 1.472 GB, free: 10.95 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.6572, allocations: 0.5805 MB / 1.473 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.6576, allocations: 175.4 kB / 1.473 GB, free: 10.19 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004601/0.658, allocations: 222.9 kB / 1.473 GB, free: 9.973 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.66, allocations: 0.9342 MB / 1.474 GB, free: 9.035 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.66, allocations: 0 / 1.474 GB, free: 9.035 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.054e-06/0.66, allocations: 0 / 1.474 GB, free: 9.035 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.7e-05/0.6601, allocations: 0 / 1.474 GB, free: 9.035 MB / 1.17 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.002095/0.6621, allocations: 0.8249 MB / 1.475 GB, free: 8.18 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6622, allocations: 12.03 kB / 1.475 GB, free: 8.168 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.6623, allocations: 66.47 kB / 1.475 GB, free: 8.094 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.6635, allocations: 159.5 kB / 1.475 GB, free: 7.938 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.6645, allocations: 446.2 kB / 1.476 GB, free: 7.477 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.6645, allocations: 20.66 kB / 1.476 GB, free: 7.457 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.18e-05/0.6646, allocations: 35.98 kB / 1.476 GB, free: 7.422 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.6653, allocations: 427.9 kB / 1.476 GB, free: 6.965 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.6653, allocations: 0 / 1.476 GB, free: 6.965 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.6654, allocations: 12 kB / 1.476 GB, free: 6.953 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.6654, allocations: 12.66 kB / 1.476 GB, free: 6.941 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.6659, allocations: 226.4 kB / 1.476 GB, free: 6.723 MB / 1.17 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.002079/0.6679, allocations: 0.9563 MB / 1.477 GB, free: 5.719 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.6684, allocations: 221.3 kB / 1.478 GB, free: 5.496 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.6686, allocations: 103.2 kB / 1.478 GB, free: 5.395 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.6686, allocations: 4 kB / 1.478 GB, free: 5.391 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.669, allocations: 270 kB / 1.478 GB, free: 5.09 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.669, allocations: 0 / 1.478 GB, free: 5.09 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003076/0.6721, allocations: 1.028 MB / 1.479 GB, free: 4.023 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.6721, allocations: 55.34 kB / 1.479 GB, free: 3.957 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.6728, allocations: 477.9 kB / 1.479 GB, free: 3.48 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.6728, allocations: 33.7 kB / 1.479 GB, free: 3.441 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.673, allocations: 248.5 kB / 1.48 GB, free: 3.195 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.6731, allocations: 107.1 kB / 1.48 GB, free: 3.09 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.6733, allocations: 82.02 kB / 1.48 GB, free: 3.004 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.6735, allocations: 354.8 kB / 1.48 GB, free: 2.648 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.6737, allocations: 128.7 kB / 1.48 GB, free: 2.523 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.674, allocations: 182.7 kB / 1.48 GB, free: 2.328 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.6745, allocations: 319.3 kB / 1.481 GB, free: 2 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6745, allocations: 0 / 1.481 GB, free: 2 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001032/0.6756, allocations: 490.6 kB / 1.481 GB, free: 1.512 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6756, allocations: 8 kB / 1.481 GB, free: 1.504 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6756, allocations: 4 kB / 1.481 GB, free: 1.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.676, allocations: 84.73 kB / 1.481 GB, free: 1.414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.6763, allocations: 67.91 kB / 1.481 GB, free: 1.348 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.6784, allocations: 1.793 MB / 1.483 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.6787, allocations: 15.98 kB / 1.483 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.6787, allocations: 15.98 kB / 1.483 GB, free: 15.41 MB / 1.186 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.000268/0.679, allocations: 189.7 kB / 1.483 GB, free: 15.21 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/0.6791, allocations: 51.67 kB / 1.483 GB, free: 15.16 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009468/0.68, allocations: 407.8 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.68, allocations: 7.938 kB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.68, allocations: 0 / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.68, allocations: 3.984 kB / 1.484 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.6817, allocations: 0.8891 MB / 1.485 GB, free: 13.8 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6817, allocations: 0 / 1.485 GB, free: 13.8 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.6821, allocations: 71.89 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.6824, allocations: 72.8 kB / 1.485 GB, free: 13.66 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.6824, allocations: 11.98 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.684, allocations: 1.549 MB / 1.486 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.684, allocations: 0 / 1.486 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.6852, allocations: 0.5877 MB / 1.487 GB, free: 11.37 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.6854, allocations: 83.78 kB / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.6854, allocations: 4 kB / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.6858, allocations: 11.98 kB / 1.487 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.6858, allocations: 23.91 kB / 1.487 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.6859, allocations: 11.98 kB / 1.487 GB, free: 11.24 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004451/0.6863, allocations: 319.1 kB / 1.487 GB, free: 10.93 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.6863, allocations: 0 / 1.487 GB, free: 10.93 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006217/0.6869, allocations: 131.9 kB / 1.487 GB, free: 10.8 MB / 1.186 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.003184/0.6901, allocations: 1.484 MB / 1.489 GB, free: 9.477 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008813/0.691, allocations: 418.6 kB / 1.489 GB, free: 9.055 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.691, allocations: 4 kB / 1.489 GB, free: 9.051 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.6914, allocations: 234.6 kB / 1.49 GB, free: 8.809 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.6926, allocations: 243.1 kB / 1.49 GB, free: 8.582 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/0.6997, allocations: 4.195 MB / 1.494 GB, free: 4.266 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.7, allocations: 263.7 kB / 1.494 GB, free: 3.98 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004116/0.7005, allocations: 84.34 kB / 1.494 GB, free: 3.898 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.7007, allocations: 159.4 kB / 1.494 GB, free: 3.742 MB / 1.186 GB Notification: Performance of SimCode: time 1.292e-06/0.7008, allocations: 4 kB / 1.494 GB, free: 3.738 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05918/0.7599, allocations: 14.6 MB / 1.509 GB, free: 5.387 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.19, allocations: 9.562 kB / 1.509 GB, free: 5.379 MB / 1.201 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.354168290272355]