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.001199/0.001199, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001484/0.001484, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.746 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.194/3.194, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.002008/0.002008, allocations: 63.56 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1872/0.5302, allocations: 143.6 MB / 1.467 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006187/0.5364, allocations: 3.346 MB / 1.471 GB, free: 13.43 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005208/0.5369, allocations: 23.81 kB / 1.471 GB, free: 13.41 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008419/0.5377, allocations: 262.5 kB / 1.471 GB, free: 13.15 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.5401, allocations: 0.9374 MB / 1.472 GB, free: 12.21 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.5411, allocations: 450.8 kB / 1.472 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.5427, allocations: 1.134 MB / 1.473 GB, free: 10.63 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.5431, allocations: 276.6 kB / 1.474 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007806/0.5439, allocations: 466.2 kB / 1.474 GB, free: 9.891 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.5449, allocations: 356.8 kB / 1.474 GB, free: 9.543 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.545, allocations: 43.98 kB / 1.474 GB, free: 9.5 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.5461, allocations: 0.5766 MB / 1.475 GB, free: 8.922 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.5464, allocations: 179.4 kB / 1.475 GB, free: 8.746 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.5466, allocations: 222.9 kB / 1.475 GB, free: 8.527 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.548, allocations: 0.9265 MB / 1.476 GB, free: 7.598 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.5481, allocations: 4 kB / 1.476 GB, free: 7.594 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5481, allocations: 3.938 kB / 1.476 GB, free: 7.59 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.5481, allocations: 3.938 kB / 1.476 GB, free: 7.586 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.00149/0.5496, allocations: 0.824 MB / 1.477 GB, free: 6.73 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5496, allocations: 8.031 kB / 1.477 GB, free: 6.723 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.5507, allocations: 159.5 kB / 1.477 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008204/0.5515, allocations: 450.2 kB / 1.478 GB, free: 6.102 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.5515, allocations: 20.66 kB / 1.478 GB, free: 6.082 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.5516, allocations: 28 kB / 1.478 GB, free: 6.055 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.5522, allocations: 427.9 kB / 1.478 GB, free: 5.598 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5522, allocations: 0 / 1.478 GB, free: 5.598 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.5523, allocations: 19.98 kB / 1.478 GB, free: 5.578 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.5523, allocations: 12.66 kB / 1.478 GB, free: 5.566 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.5527, allocations: 222.4 kB / 1.478 GB, free: 5.348 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.001759/0.5545, allocations: 0.906 MB / 1.479 GB, free: 4.406 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.5549, allocations: 216.7 kB / 1.479 GB, free: 4.188 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.5551, allocations: 100.8 kB / 1.48 GB, free: 4.086 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.5551, allocations: 7.984 kB / 1.48 GB, free: 4.078 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.5555, allocations: 263.9 kB / 1.48 GB, free: 3.785 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 2.395e-06/0.5555, allocations: 7.938 kB / 1.48 GB, free: 3.777 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.002787/0.5582, allocations: 1.028 MB / 1.481 GB, free: 2.711 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.5583, allocations: 67.33 kB / 1.481 GB, free: 2.633 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.5589, allocations: 465.8 kB / 1.481 GB, free: 2.172 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.5589, allocations: 33.7 kB / 1.481 GB, free: 2.133 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.5591, allocations: 240.5 kB / 1.482 GB, free: 1.895 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5592, allocations: 107.1 kB / 1.482 GB, free: 1.789 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.5593, allocations: 78.02 kB / 1.482 GB, free: 1.707 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5595, allocations: 354.8 kB / 1.482 GB, free: 1.352 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.5598, allocations: 132.7 kB / 1.482 GB, free: 1.223 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.5601, allocations: 190.6 kB / 1.482 GB, free: 1.02 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.5605, allocations: 311.4 kB / 1.483 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5605, allocations: 0 / 1.483 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009804/0.5615, allocations: 494.4 kB / 1.483 GB, free: 212 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5615, allocations: 4 kB / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5616, allocations: 4 kB / 1.483 GB, free: 204 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.5619, allocations: 84.95 kB / 1.483 GB, free: 116 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.5622, allocations: 67.91 kB / 1.483 GB, free: 48 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.5641, allocations: 1.766 MB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.5644, allocations: 8.031 kB / 1.485 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.5645, allocations: 24.17 kB / 1.485 GB, free: 14.15 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.0002683/0.5647, allocations: 190 kB / 1.485 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.5648, allocations: 51.66 kB / 1.485 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/0.5657, allocations: 411.2 kB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5657, allocations: 4 kB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5657, allocations: 4 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5657, allocations: 3.984 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.5672, allocations: 0.8465 MB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5673, allocations: 4 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.5676, allocations: 63.91 kB / 1.487 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002938/0.5679, allocations: 84.81 kB / 1.487 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.5679, allocations: 12 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.5695, allocations: 1.511 MB / 1.488 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5695, allocations: 4.062 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.5705, allocations: 0.5878 MB / 1.489 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.5707, allocations: 71.72 kB / 1.489 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.5708, allocations: 15.94 kB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.5711, allocations: 11.98 kB / 1.489 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.5712, allocations: 19.95 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.5712, allocations: 12 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000398/0.5716, allocations: 315.1 kB / 1.489 GB, free: 9.766 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5716, allocations: 0 / 1.489 GB, free: 9.766 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005389/0.5721, allocations: 123.9 kB / 1.489 GB, free: 9.645 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.001699/0.5738, allocations: 472 kB / 1.49 GB, free: 9.359 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007669/0.5746, allocations: 414.9 kB / 1.49 GB, free: 8.941 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5746, allocations: 3.938 kB / 1.49 GB, free: 8.938 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.5749, allocations: 246.5 kB / 1.49 GB, free: 8.684 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5761, allocations: 247.9 kB / 1.491 GB, free: 8.457 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.5779, allocations: 1.053 MB / 1.492 GB, free: 7.367 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.5782, allocations: 255.8 kB / 1.492 GB, free: 7.09 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.5783, allocations: 43.44 kB / 1.492 GB, free: 7.047 MB / 1.186 GB Notification: Performance of SimCode: time 6.71e-07/0.5783, allocations: 0 / 1.492 GB, free: 7.047 MB / 1.186 GB Notification: Performance of Templates: time 0.01441/0.5927, allocations: 9.583 MB / 1.501 GB, free: 13.51 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 -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: 13.322581612039357]