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.001466/0.001466, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001514/0.001514, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.246/3.246, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") [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.002034/0.002034, allocations: 71.06 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4359, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2037/0.6396, allocations: 143.6 MB / 1.467 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006862/0.6465, allocations: 3.337 MB / 1.471 GB, free: 13.5 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006452/0.6471, allocations: 23.81 kB / 1.471 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009707/0.6481, allocations: 266.5 kB / 1.471 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.6506, allocations: 0.9412 MB / 1.472 GB, free: 12.27 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.652, allocations: 457.9 kB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.6537, allocations: 1.145 MB / 1.473 GB, free: 10.68 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.6542, allocations: 280.6 kB / 1.474 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008798/0.6551, allocations: 462.2 kB / 1.474 GB, free: 9.938 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.6562, allocations: 380.2 kB / 1.474 GB, free: 9.566 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.225e-05/0.6563, allocations: 40 kB / 1.474 GB, free: 9.527 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.6576, allocations: 0.5961 MB / 1.475 GB, free: 8.93 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.6579, allocations: 171.4 kB / 1.475 GB, free: 8.762 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.6581, allocations: 222.9 kB / 1.475 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.6596, allocations: 0.9342 MB / 1.476 GB, free: 7.605 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6596, allocations: 0 / 1.476 GB, free: 7.605 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6596, allocations: 0 / 1.476 GB, free: 7.605 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.6597, allocations: 0 / 1.476 GB, free: 7.605 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.001671/0.6613, allocations: 0.8191 MB / 1.477 GB, free: 6.754 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.6614, allocations: 19.91 kB / 1.477 GB, free: 6.734 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.6625, allocations: 151.5 kB / 1.477 GB, free: 6.586 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009021/0.6634, allocations: 450.2 kB / 1.478 GB, free: 6.117 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.6634, allocations: 24.64 kB / 1.478 GB, free: 6.094 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.6635, allocations: 35.98 kB / 1.478 GB, free: 6.059 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007972/0.6643, allocations: 419.9 kB / 1.478 GB, free: 5.609 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.6643, allocations: 4 kB / 1.478 GB, free: 5.605 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.6644, allocations: 12 kB / 1.478 GB, free: 5.594 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.405e-05/0.6644, allocations: 16.64 kB / 1.478 GB, free: 5.578 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.6648, allocations: 222.4 kB / 1.478 GB, free: 5.363 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.002009/0.6669, allocations: 0.9099 MB / 1.479 GB, free: 4.418 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.6673, allocations: 210.7 kB / 1.479 GB, free: 4.203 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.6675, allocations: 106.5 kB / 1.48 GB, free: 4.098 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.6675, allocations: 7.938 kB / 1.48 GB, free: 4.09 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003948/0.6679, allocations: 266.1 kB / 1.48 GB, free: 3.793 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 2.916e-06/0.6679, allocations: 0 / 1.48 GB, free: 3.793 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003181/0.6711, allocations: 1.022 MB / 1.481 GB, free: 2.734 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.6711, allocations: 59.41 kB / 1.481 GB, free: 2.664 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.6718, allocations: 465.8 kB / 1.481 GB, free: 2.203 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.6718, allocations: 33.7 kB / 1.481 GB, free: 2.164 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.6721, allocations: 244.5 kB / 1.482 GB, free: 1.922 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.6722, allocations: 111 kB / 1.482 GB, free: 1.812 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.6723, allocations: 77.97 kB / 1.482 GB, free: 1.73 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.6725, allocations: 362.8 kB / 1.482 GB, free: 1.367 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.6728, allocations: 128.7 kB / 1.482 GB, free: 1.242 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.6731, allocations: 186.7 kB / 1.482 GB, free: 1.043 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.6736, allocations: 315.3 kB / 1.483 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6736, allocations: 0 / 1.483 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001046/0.6746, allocations: 490.4 kB / 1.483 GB, free: 236 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6747, allocations: 8 kB / 1.483 GB, free: 228 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.6747, allocations: 0 / 1.483 GB, free: 228 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.6751, allocations: 88.89 kB / 1.483 GB, free: 136 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.6754, allocations: 67.91 kB / 1.483 GB, free: 68 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.6775, allocations: 1.774 MB / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.6778, allocations: 12.09 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.6779, allocations: 16 kB / 1.485 GB, free: 14.16 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.0002891/0.6782, allocations: 189.8 kB / 1.485 GB, free: 13.97 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.6783, allocations: 47.66 kB / 1.485 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/0.6792, allocations: 411.2 kB / 1.486 GB, free: 13.51 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.6792, allocations: 8 kB / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.6792, allocations: 0 / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6792, allocations: 0 / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.6809, allocations: 0.8466 MB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6809, allocations: 0 / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.6813, allocations: 67.89 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/0.6816, allocations: 76.8 kB / 1.487 GB, free: 12.47 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.6816, allocations: 15.98 kB / 1.487 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.6832, allocations: 1.515 MB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6832, allocations: 0 / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.6844, allocations: 0.5916 MB / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.6846, allocations: 79.66 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.6846, allocations: 11.94 kB / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/0.685, allocations: 8 kB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.6851, allocations: 19.95 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.6851, allocations: 20.05 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00041/0.6855, allocations: 315.1 kB / 1.489 GB, free: 9.781 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6855, allocations: 0 / 1.489 GB, free: 9.781 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005664/0.6861, allocations: 123.9 kB / 1.489 GB, free: 9.66 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.001712/0.6878, allocations: 463.3 kB / 1.49 GB, free: 9.391 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008013/0.6886, allocations: 414.9 kB / 1.49 GB, free: 8.973 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6886, allocations: 7.938 kB / 1.49 GB, free: 8.965 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.6889, allocations: 246.5 kB / 1.49 GB, free: 8.711 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.69, allocations: 240.8 kB / 1.491 GB, free: 8.484 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.6919, allocations: 1.012 MB / 1.492 GB, free: 7.441 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.6922, allocations: 263.8 kB / 1.492 GB, free: 7.156 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.6925, allocations: 80.33 kB / 1.492 GB, free: 7.078 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.6926, allocations: 39.38 kB / 1.492 GB, free: 7.039 MB / 1.186 GB Notification: Performance of SimCode: time 8.01e-07/0.6926, allocations: 0 / 1.492 GB, free: 7.039 MB / 1.186 GB Notification: Performance of Templates: time 0.01907/0.7117, allocations: 10.13 MB / 1.502 GB, free: 13.11 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 400] 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: 9.993007310011308]