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.001708/0.001708, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002144/0.002144, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.996 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.43/3.43, allocations: 0.505 GB / 0.8101 GB, free: 22 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.002878/0.002878, allocations: 67.17 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4204, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2299/0.6502, allocations: 166.5 MB / 1.515 GB, free: 1.309 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007927/0.6582, allocations: 3.586 MB / 1.519 GB, free: 13.71 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.6593, allocations: 23.81 kB / 1.519 GB, free: 13.69 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.6607, allocations: 294.4 kB / 1.519 GB, free: 13.4 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.6638, allocations: 0.934 MB / 1.52 GB, free: 12.46 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.6653, allocations: 460.8 kB / 1.521 GB, free: 12.02 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002088/0.6674, allocations: 1.146 MB / 1.522 GB, free: 10.87 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006849/0.6681, allocations: 284.6 kB / 1.522 GB, free: 10.58 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.6692, allocations: 474.2 kB / 1.522 GB, free: 10.11 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.6705, allocations: 373.6 kB / 1.523 GB, free: 9.75 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.6707, allocations: 40 kB / 1.523 GB, free: 9.711 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.6724, allocations: 0.7521 MB / 1.524 GB, free: 8.957 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.6727, allocations: 171.5 kB / 1.524 GB, free: 8.789 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005213/0.6732, allocations: 270.6 kB / 1.524 GB, free: 8.523 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.6756, allocations: 0.9498 MB / 1.525 GB, free: 7.57 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6756, allocations: 4 kB / 1.525 GB, free: 7.566 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6756, allocations: 0 / 1.525 GB, free: 7.566 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.008e-05/0.6756, allocations: 0 / 1.525 GB, free: 7.566 MB / 1.217 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.002244/0.6779, allocations: 0.8231 MB / 1.526 GB, free: 6.707 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.6779, allocations: 8.031 kB / 1.526 GB, free: 6.699 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.6781, allocations: 66.53 kB / 1.526 GB, free: 6.625 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.6793, allocations: 151.5 kB / 1.526 GB, free: 6.477 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009874/0.6803, allocations: 458.1 kB / 1.526 GB, free: 6.008 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.6803, allocations: 20.66 kB / 1.526 GB, free: 5.984 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.6804, allocations: 28 kB / 1.526 GB, free: 5.957 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.681, allocations: 325 kB / 1.527 GB, free: 5.629 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.681, allocations: 0 / 1.527 GB, free: 5.629 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.6811, allocations: 16 kB / 1.527 GB, free: 5.613 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.6811, allocations: 8.656 kB / 1.527 GB, free: 5.605 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.6816, allocations: 226.4 kB / 1.527 GB, free: 5.383 MB / 1.217 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.002527/0.6841, allocations: 1.492 MB / 1.528 GB, free: 3.738 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.6846, allocations: 216.6 kB / 1.529 GB, free: 3.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.6848, allocations: 100.8 kB / 1.529 GB, free: 3.418 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.6848, allocations: 4 kB / 1.529 GB, free: 3.414 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003279/0.6851, allocations: 155.2 kB / 1.529 GB, free: 3.25 MB / 1.217 GB Notification: Performance of pre-optimization done (n=26): time 2.775e-06/0.6851, allocations: 4 kB / 1.529 GB, free: 3.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=29): time 0.003083/0.6882, allocations: 1.025 MB / 1.53 GB, free: 2.18 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.6883, allocations: 55.34 kB / 1.53 GB, free: 2.113 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006622/0.6889, allocations: 473.9 kB / 1.53 GB, free: 1.648 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.689, allocations: 33.7 kB / 1.53 GB, free: 1.609 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.6892, allocations: 248.5 kB / 1.531 GB, free: 1.359 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.6893, allocations: 107.2 kB / 1.531 GB, free: 1.254 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.6894, allocations: 78.02 kB / 1.531 GB, free: 1.172 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.6896, allocations: 354.8 kB / 1.531 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.6898, allocations: 128.7 kB / 1.531 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.6901, allocations: 190.6 kB / 1.531 GB, free: 500 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.6906, allocations: 311.4 kB / 1.532 GB, free: 172 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6906, allocations: 0 / 1.532 GB, free: 172 kB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001091/0.6917, allocations: 498.4 kB / 1.532 GB, free: 15.67 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6917, allocations: 6.031 kB / 1.532 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6917, allocations: 4 kB / 1.532 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.6921, allocations: 84.95 kB / 1.532 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.6924, allocations: 67.91 kB / 1.532 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.6944, allocations: 1.797 MB / 1.534 GB, free: 13.6 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.6948, allocations: 8 kB / 1.534 GB, free: 13.59 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.6948, allocations: 15.98 kB / 1.534 GB, free: 13.58 MB / 1.232 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.0003094/0.6951, allocations: 193.8 kB / 1.534 GB, free: 13.38 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.6953, allocations: 51.67 kB / 1.534 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/0.6962, allocations: 395.3 kB / 1.535 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6962, allocations: 7.938 kB / 1.535 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6962, allocations: 4 kB / 1.535 GB, free: 12.92 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6962, allocations: 11.98 kB / 1.535 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001767/0.698, allocations: 0.9476 MB / 1.536 GB, free: 11.91 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.698, allocations: 0 / 1.536 GB, free: 11.91 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.6983, allocations: 55.97 kB / 1.536 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.6987, allocations: 88.61 kB / 1.536 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.6987, allocations: 4 kB / 1.536 GB, free: 11.76 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.7003, allocations: 1.549 MB / 1.537 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7003, allocations: 0 / 1.537 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.7013, allocations: 0.571 MB / 1.538 GB, free: 9.504 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.7015, allocations: 79.72 kB / 1.538 GB, free: 9.426 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.7016, allocations: 4 kB / 1.538 GB, free: 9.422 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.702, allocations: 19.92 kB / 1.538 GB, free: 9.402 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.702, allocations: 15.97 kB / 1.538 GB, free: 9.387 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.7021, allocations: 15.98 kB / 1.538 GB, free: 9.371 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003975/0.7024, allocations: 311.1 kB / 1.538 GB, free: 9.066 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7024, allocations: 0 / 1.538 GB, free: 9.066 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005919/0.703, allocations: 127.9 kB / 1.539 GB, free: 8.941 MB / 1.232 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.003/0.706, allocations: 1.451 MB / 1.54 GB, free: 7.621 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008424/0.7069, allocations: 422.3 kB / 1.54 GB, free: 7.195 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7069, allocations: 0 / 1.54 GB, free: 7.195 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.7072, allocations: 234.6 kB / 1.541 GB, free: 6.953 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.7084, allocations: 247.6 kB / 1.541 GB, free: 6.727 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006675/0.7151, allocations: 4.171 MB / 1.545 GB, free: 2.434 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.7156, allocations: 0.8541 MB / 1.546 GB, free: 1.551 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003549/0.716, allocations: 84.33 kB / 1.546 GB, free: 1.469 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.7162, allocations: 155.4 kB / 1.546 GB, free: 1.316 MB / 1.232 GB Notification: Performance of SimCode: time 1.603e-06/0.7162, allocations: 0 / 1.546 GB, free: 1.316 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/0.7829, allocations: 13.37 MB / 1.559 GB, free: 4.094 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.52, allocations: 7.344 kB / 1.559 GB, free: 4.09 MB / 1.248 GB " [Timeout remaining time 286] (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.7702522079926]