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.001417/0.001417, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001556/0.001556, allocations: 215.8 kB / 23.01 MB, free: 4.609 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.259/3.259, allocations: 0.49 GB / 0.7958 GB, free: 33.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.001993/0.001993, allocations: 67.33 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3979, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.208/0.6059, allocations: 166.5 MB / 1.49 GB, free: 10.35 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006246/0.6122, allocations: 3.588 MB / 1.493 GB, free: 6.754 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006495/0.6128, allocations: 27.75 kB / 1.493 GB, free: 6.727 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.6137, allocations: 282.5 kB / 1.494 GB, free: 6.449 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.6161, allocations: 0.9334 MB / 1.494 GB, free: 5.512 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.6172, allocations: 462.8 kB / 1.495 GB, free: 5.059 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.6188, allocations: 1.144 MB / 1.496 GB, free: 3.914 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.6192, allocations: 284.6 kB / 1.496 GB, free: 3.625 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007982/0.62, allocations: 474.2 kB / 1.497 GB, free: 3.16 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009953/0.621, allocations: 379 kB / 1.497 GB, free: 2.793 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.6211, allocations: 40 kB / 1.497 GB, free: 2.754 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.6225, allocations: 0.7444 MB / 1.498 GB, free: 2.008 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.6227, allocations: 175.4 kB / 1.498 GB, free: 1.836 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.623, allocations: 274.6 kB / 1.498 GB, free: 1.566 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.6245, allocations: 0.9537 MB / 1.499 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.6245, allocations: 0 / 1.499 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6245, allocations: 0 / 1.499 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.6245, allocations: 0 / 1.499 GB, free: 0.6094 MB / 1.186 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.001499/0.626, allocations: 0.8192 MB / 1.5 GB, free: 15.76 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.626, allocations: 12.03 kB / 1.5 GB, free: 15.75 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.6271, allocations: 159.4 kB / 1.5 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/0.6279, allocations: 450.2 kB / 1.501 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.6279, allocations: 20.59 kB / 1.501 GB, free: 15.1 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.201e-05/0.628, allocations: 35.98 kB / 1.501 GB, free: 15.07 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.6286, allocations: 317.1 kB / 1.501 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6286, allocations: 3.984 kB / 1.501 GB, free: 14.74 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.6286, allocations: 12 kB / 1.501 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.6286, allocations: 12.66 kB / 1.501 GB, free: 14.71 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.6291, allocations: 238.3 kB / 1.501 GB, free: 14.48 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.002132/0.6312, allocations: 1.477 MB / 1.503 GB, free: 12.86 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.6316, allocations: 206.7 kB / 1.503 GB, free: 12.64 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.6318, allocations: 104.8 kB / 1.503 GB, free: 12.54 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.6318, allocations: 7.984 kB / 1.503 GB, free: 12.53 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.6321, allocations: 163.2 kB / 1.503 GB, free: 12.36 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.903e-06/0.6321, allocations: 0 / 1.503 GB, free: 12.36 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.002881/0.635, allocations: 1.018 MB / 1.504 GB, free: 11.3 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.635, allocations: 63.34 kB / 1.504 GB, free: 11.23 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.6356, allocations: 469.9 kB / 1.505 GB, free: 10.77 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.6356, allocations: 33.7 kB / 1.505 GB, free: 10.73 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.6358, allocations: 248.5 kB / 1.505 GB, free: 10.48 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.636, allocations: 103.1 kB / 1.505 GB, free: 10.38 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.6361, allocations: 82.02 kB / 1.505 GB, free: 10.29 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.6363, allocations: 354.8 kB / 1.505 GB, free: 9.938 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.6365, allocations: 124.7 kB / 1.505 GB, free: 9.816 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.6368, allocations: 190.7 kB / 1.506 GB, free: 9.613 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.6373, allocations: 319.3 kB / 1.506 GB, free: 9.285 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6373, allocations: 0 / 1.506 GB, free: 9.285 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001005/0.6383, allocations: 486.6 kB / 1.506 GB, free: 8.801 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6383, allocations: 8 kB / 1.506 GB, free: 8.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6383, allocations: 0 / 1.506 GB, free: 8.793 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.6387, allocations: 88.73 kB / 1.507 GB, free: 8.703 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.6389, allocations: 63.91 kB / 1.507 GB, free: 8.641 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.6409, allocations: 1.805 MB / 1.508 GB, free: 6.723 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.6412, allocations: 8 kB / 1.508 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.6413, allocations: 15.98 kB / 1.508 GB, free: 6.699 MB / 1.201 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.0002477/0.6415, allocations: 185.8 kB / 1.509 GB, free: 6.508 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.6416, allocations: 51.66 kB / 1.509 GB, free: 6.457 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009209/0.6425, allocations: 403.2 kB / 1.509 GB, free: 6.051 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6425, allocations: 7.938 kB / 1.509 GB, free: 6.043 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6425, allocations: 3.938 kB / 1.509 GB, free: 6.039 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6425, allocations: 3.984 kB / 1.509 GB, free: 6.035 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.6441, allocations: 0.9475 MB / 1.51 GB, free: 5.035 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6441, allocations: 0 / 1.51 GB, free: 5.035 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.6445, allocations: 63.91 kB / 1.51 GB, free: 4.973 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/0.6448, allocations: 76.78 kB / 1.51 GB, free: 4.895 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.6448, allocations: 8 kB / 1.51 GB, free: 4.887 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.6464, allocations: 1.553 MB / 1.512 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6464, allocations: 0 / 1.512 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6474, allocations: 0.5714 MB / 1.512 GB, free: 2.629 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.6476, allocations: 75.78 kB / 1.512 GB, free: 2.555 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.6477, allocations: 15.94 kB / 1.512 GB, free: 2.539 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.648, allocations: 11.98 kB / 1.512 GB, free: 2.527 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.6481, allocations: 19.97 kB / 1.512 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.6481, allocations: 15.98 kB / 1.512 GB, free: 2.492 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003804/0.6485, allocations: 311.1 kB / 1.513 GB, free: 2.191 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6485, allocations: 0 / 1.513 GB, free: 2.191 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005251/0.649, allocations: 127.9 kB / 1.513 GB, free: 2.066 MB / 1.201 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.001594/0.6506, allocations: 447.2 kB / 1.513 GB, free: 1.781 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0007631/0.6514, allocations: 419.1 kB / 1.514 GB, free: 1.359 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6514, allocations: 0 / 1.514 GB, free: 1.359 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.6517, allocations: 234.6 kB / 1.514 GB, free: 1.117 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6528, allocations: 247.7 kB / 1.514 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.6546, allocations: 1.055 MB / 1.515 GB, free: 15.8 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.6551, allocations: 0.8578 MB / 1.516 GB, free: 14.91 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.6552, allocations: 39.42 kB / 1.516 GB, free: 14.87 MB / 1.217 GB Notification: Performance of SimCode: time 3.4e-07/0.6552, allocations: 3.938 kB / 1.516 GB, free: 14.87 MB / 1.217 GB Notification: Performance of Templates: time 0.01364/0.6688, allocations: 9.412 MB / 1.525 GB, free: 5.504 MB / 1.217 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.474324944021646]