Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009318/0.0009318, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001046/0.001046, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9228/0.9228, allocations: 177.1 MB / 203.5 MB, free: 5.684 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.582/1.582, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.288e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6354/0.6354, allocations: 143.6 MB / 1.092 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004822/0.6403, allocations: 3.333 MB / 1.095 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.6407, allocations: 28.75 kB / 1.095 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007133/0.6415, allocations: 272.1 kB / 1.095 GB, free: 39.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.643, allocations: 0.9486 MB / 1.096 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.6436, allocations: 460.5 kB / 1.097 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.6444, allocations: 1.148 MB / 1.098 GB, free: 38.21 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.6446, allocations: 286.5 kB / 1.098 GB, free: 38.09 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.6451, allocations: 0.5515 MB / 1.099 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005729/0.6457, allocations: 319 kB / 1.099 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.6457, allocations: 40.34 kB / 1.099 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.6463, allocations: 0.591 MB / 1.1 GB, free: 37.64 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.6464, allocations: 182.3 kB / 1.1 GB, free: 37.56 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.6465, allocations: 184 kB / 1.1 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000978/0.6475, allocations: 0.9531 MB / 1.101 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.6475, allocations: 0 / 1.101 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6475, allocations: 0.7812 kB / 1.101 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.6475, allocations: 0 / 1.101 GB, free: 37.21 MB / 0.9948 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.001047/0.6486, allocations: 0.8131 MB / 1.102 GB, free: 36.63 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6486, allocations: 8.969 kB / 1.102 GB, free: 36.63 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/0.6493, allocations: 160.6 kB / 1.102 GB, free: 36.59 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/0.6499, allocations: 440.5 kB / 1.102 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.6499, allocations: 27.78 kB / 1.102 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.65, allocations: 32.31 kB / 1.102 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.6506, allocations: 430.2 kB / 1.103 GB, free: 36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.6506, allocations: 4.484 kB / 1.103 GB, free: 36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.6506, allocations: 11.47 kB / 1.103 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.6506, allocations: 11.66 kB / 1.103 GB, free: 35.99 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.6511, allocations: 220.4 kB / 1.103 GB, free: 35.92 MB / 0.9948 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.001163/0.6522, allocations: 0.9084 MB / 1.104 GB, free: 35.37 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.6525, allocations: 217.1 kB / 1.104 GB, free: 35.27 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.6526, allocations: 101.1 kB / 1.104 GB, free: 35.22 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.6526, allocations: 3.797 kB / 1.104 GB, free: 35.22 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.6528, allocations: 276.6 kB / 1.104 GB, free: 35 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.6528, allocations: 0 / 1.104 GB, free: 35 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.001862/0.6547, allocations: 1.018 MB / 1.105 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.6547, allocations: 63.97 kB / 1.106 GB, free: 34.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.6552, allocations: 467.1 kB / 1.106 GB, free: 34.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.6552, allocations: 36.27 kB / 1.106 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6554, allocations: 243.3 kB / 1.106 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.6554, allocations: 107.2 kB / 1.106 GB, free: 33.88 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.6555, allocations: 79.5 kB / 1.106 GB, free: 33.83 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.6556, allocations: 360.2 kB / 1.107 GB, free: 33.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.6557, allocations: 129.2 kB / 1.107 GB, free: 33.45 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.6559, allocations: 187.4 kB / 1.107 GB, free: 33.34 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.6562, allocations: 310.5 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6562, allocations: 0.875 kB / 1.107 GB, free: 33.17 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000602/0.6568, allocations: 497.5 kB / 1.108 GB, free: 32.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6568, allocations: 9.469 kB / 1.108 GB, free: 32.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6569, allocations: 1.422 kB / 1.108 GB, free: 32.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002288/0.6571, allocations: 82.34 kB / 1.108 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.6572, allocations: 66.23 kB / 1.108 GB, free: 32.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.6583, allocations: 1.766 MB / 1.11 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.6585, allocations: 17.31 kB / 1.11 GB, free: 31.33 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.6585, allocations: 18.92 kB / 1.11 GB, free: 31.32 MB / 0.9948 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.0001613/0.6587, allocations: 187.7 kB / 1.11 GB, free: 31.17 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.6587, allocations: 47.75 kB / 1.11 GB, free: 31.14 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000624/0.6593, allocations: 416 kB / 1.11 GB, free: 30.95 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.6594, allocations: 7.344 kB / 1.11 GB, free: 30.94 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6594, allocations: 1.969 kB / 1.11 GB, free: 30.94 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6594, allocations: 0.7969 kB / 1.11 GB, free: 30.94 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.6604, allocations: 0.8398 MB / 1.111 GB, free: 30.47 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6604, allocations: 1.156 kB / 1.111 GB, free: 30.47 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.6606, allocations: 59.09 kB / 1.111 GB, free: 30.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.6608, allocations: 84.98 kB / 1.111 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.6608, allocations: 13.36 kB / 1.111 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007297/0.6615, allocations: 1.524 MB / 1.113 GB, free: 29.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6615, allocations: 1.375 kB / 1.113 GB, free: 29.05 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.6622, allocations: 0.5846 MB / 1.113 GB, free: 28.73 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6623, allocations: 70.7 kB / 1.113 GB, free: 28.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.6623, allocations: 13.52 kB / 1.113 GB, free: 28.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.6625, allocations: 14.56 kB / 1.113 GB, free: 28.68 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.6625, allocations: 25.81 kB / 1.114 GB, free: 28.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6625, allocations: 13.92 kB / 1.114 GB, free: 28.66 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002705/0.6628, allocations: 309.6 kB / 1.114 GB, free: 28.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6628, allocations: 0 / 1.114 GB, free: 28.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003781/0.6632, allocations: 126.4 kB / 1.114 GB, free: 28.5 MB / 0.9948 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.0008496/0.664, allocations: 465.2 kB / 1.114 GB, free: 28.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005445/0.6646, allocations: 409.3 kB / 1.115 GB, free: 28.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6646, allocations: 1.781 kB / 1.115 GB, free: 28.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.6648, allocations: 249.3 kB / 1.115 GB, free: 27.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007644/0.6656, allocations: 241.2 kB / 1.115 GB, free: 27.87 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.6668, allocations: 0.9588 MB / 1.116 GB, free: 27.29 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.667, allocations: 252.1 kB / 1.116 GB, free: 27.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.6671, allocations: 48.36 kB / 1.116 GB, free: 27.18 MB / 0.9948 GB Notification: Performance of SimCode: time 1.362e-06/0.6671, allocations: 0 / 1.116 GB, free: 27.18 MB / 0.9948 GB Notification: Performance of Templates: time 0.01435/0.6814, allocations: 9.668 MB / 1.126 GB, free: 26.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.045418234542012]