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.001585/0.001585, allocations: 102.3 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.001736/0.001736, allocations: 217.6 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.453/1.453, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.296/3.296, allocations: 0.505 GB / 0.8108 GB, free: 22.09 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: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_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.002067/0.002067, allocations: 71.11 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3528, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1998/0.5526, allocations: 166.5 MB / 1.517 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006274/0.5589, allocations: 3.597 MB / 1.52 GB, free: 13.24 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.5594, allocations: 23.81 kB / 1.52 GB, free: 13.21 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.5602, allocations: 286.4 kB / 1.52 GB, free: 12.93 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.5625, allocations: 0.9412 MB / 1.521 GB, free: 11.99 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.5637, allocations: 462 kB / 1.522 GB, free: 11.54 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001622/0.5653, allocations: 1.138 MB / 1.523 GB, free: 10.4 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.5658, allocations: 284.6 kB / 1.523 GB, free: 10.11 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008373/0.5666, allocations: 474.2 kB / 1.524 GB, free: 9.645 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009936/0.5676, allocations: 376.6 kB / 1.524 GB, free: 9.277 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 7.153e-05/0.5677, allocations: 40 kB / 1.524 GB, free: 9.238 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.5691, allocations: 0.7482 MB / 1.525 GB, free: 8.488 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.5693, allocations: 175.4 kB / 1.525 GB, free: 8.316 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.5696, allocations: 278.6 kB / 1.525 GB, free: 8.043 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.5711, allocations: 0.9381 MB / 1.526 GB, free: 7.102 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.5711, allocations: 0 / 1.526 GB, free: 7.102 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5711, allocations: 4 kB / 1.526 GB, free: 7.098 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.5711, allocations: 3.938 kB / 1.526 GB, free: 7.094 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.001536/0.5726, allocations: 0.8231 MB / 1.527 GB, free: 6.234 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5727, allocations: 8.031 kB / 1.527 GB, free: 6.227 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.5737, allocations: 159.5 kB / 1.527 GB, free: 6.07 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008661/0.5746, allocations: 446.2 kB / 1.528 GB, free: 5.613 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.5746, allocations: 24.66 kB / 1.528 GB, free: 5.586 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.5747, allocations: 32 kB / 1.528 GB, free: 5.555 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.5753, allocations: 321 kB / 1.528 GB, free: 5.23 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5753, allocations: 0 / 1.528 GB, free: 5.23 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.5753, allocations: 12 kB / 1.528 GB, free: 5.219 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.5754, allocations: 16.66 kB / 1.528 GB, free: 5.203 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.5758, allocations: 222.4 kB / 1.528 GB, free: 4.984 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.002251/0.578, allocations: 1.492 MB / 1.53 GB, free: 3.34 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.5785, allocations: 207.3 kB / 1.53 GB, free: 3.129 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.5787, allocations: 100.8 kB / 1.53 GB, free: 3.027 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.5787, allocations: 4 kB / 1.53 GB, free: 3.023 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.579, allocations: 167.2 kB / 1.53 GB, free: 2.848 MB / 1.217 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.579, allocations: 7.875 kB / 1.53 GB, free: 2.84 MB / 1.217 GB Notification: Performance of matching and sorting (n=29): time 0.003013/0.582, allocations: 1.021 MB / 1.531 GB, free: 1.777 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.5821, allocations: 59.34 kB / 1.531 GB, free: 1.707 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.5827, allocations: 473.9 kB / 1.532 GB, free: 1.242 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.5827, allocations: 29.7 kB / 1.532 GB, free: 1.207 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.5829, allocations: 248.5 kB / 1.532 GB, free: 0.957 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.583, allocations: 103.2 kB / 1.532 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.5832, allocations: 78.02 kB / 1.532 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5834, allocations: 358.8 kB / 1.532 GB, free: 424 kB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.5836, allocations: 120.7 kB / 1.532 GB, free: 304 kB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.5839, allocations: 194.6 kB / 1.533 GB, free: 92 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.5844, allocations: 307.5 kB / 1.533 GB, free: 15.77 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5844, allocations: 4 kB / 1.533 GB, free: 15.77 MB / 1.233 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001063/0.5855, allocations: 494.3 kB / 1.533 GB, free: 15.27 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.5855, allocations: 4 kB / 1.533 GB, free: 15.27 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5855, allocations: 4.156 kB / 1.533 GB, free: 15.27 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.5859, allocations: 84.8 kB / 1.533 GB, free: 15.18 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.5861, allocations: 67.91 kB / 1.534 GB, free: 15.11 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/0.5882, allocations: 1.801 MB / 1.535 GB, free: 13.2 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.5885, allocations: 16.08 kB / 1.535 GB, free: 13.19 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.5886, allocations: 16 kB / 1.535 GB, free: 13.17 MB / 1.233 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.0002557/0.5888, allocations: 187.6 kB / 1.536 GB, free: 12.98 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.5889, allocations: 55.61 kB / 1.536 GB, free: 12.93 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000943/0.5899, allocations: 403.2 kB / 1.536 GB, free: 12.52 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5899, allocations: 0 / 1.536 GB, free: 12.52 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5899, allocations: 7.938 kB / 1.536 GB, free: 12.52 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5899, allocations: 3.984 kB / 1.536 GB, free: 12.51 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.5916, allocations: 0.9472 MB / 1.537 GB, free: 11.51 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5916, allocations: 4 kB / 1.537 GB, free: 11.51 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.592, allocations: 59.91 kB / 1.537 GB, free: 11.45 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003185/0.5923, allocations: 80.78 kB / 1.537 GB, free: 11.37 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.5923, allocations: 11.98 kB / 1.537 GB, free: 11.36 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.5939, allocations: 1.545 MB / 1.539 GB, free: 9.691 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5939, allocations: 4.062 kB / 1.539 GB, free: 9.688 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.595, allocations: 0.5671 MB / 1.539 GB, free: 9.102 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.5952, allocations: 71.69 kB / 1.539 GB, free: 9.031 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.5953, allocations: 12 kB / 1.539 GB, free: 9.02 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.5956, allocations: 22.05 kB / 1.539 GB, free: 9 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.5957, allocations: 19.95 kB / 1.539 GB, free: 8.98 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.5957, allocations: 8 kB / 1.539 GB, free: 8.973 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0003939/0.5961, allocations: 315.1 kB / 1.54 GB, free: 8.664 MB / 1.233 GB Notification: Performance of sort global known variables: time 9e-08/0.5961, allocations: 0 / 1.54 GB, free: 8.664 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.0005476/0.5966, allocations: 131.9 kB / 1.54 GB, free: 8.535 MB / 1.233 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.001613/0.5983, allocations: 440.4 kB / 1.54 GB, free: 8.258 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.0007814/0.599, allocations: 411.4 kB / 1.54 GB, free: 7.844 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.599, allocations: 8 kB / 1.54 GB, free: 7.836 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.5994, allocations: 238.6 kB / 1.541 GB, free: 7.59 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.6005, allocations: 247.2 kB / 1.541 GB, free: 7.359 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.6024, allocations: 1.053 MB / 1.542 GB, free: 6.27 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.6029, allocations: 0.858 MB / 1.543 GB, free: 5.383 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.6031, allocations: 35.44 kB / 1.543 GB, free: 5.348 MB / 1.233 GB Notification: Performance of SimCode: time 3.7e-07/0.6031, allocations: 0 / 1.543 GB, free: 5.348 MB / 1.233 GB Notification: Performance of Templates: time 0.0141/0.6172, allocations: 9.415 MB / 1.552 GB, free: 11.98 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 800] 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: 13.590764451015275]