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.002307/0.002307, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002774/0.002774, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.479/3.479, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.115e-05, allocations: 5.406 kB / 0.8774 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.222/0.222, allocations: 159 MB / 1.033 GB, free: 7.168 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006523/0.2285, allocations: 3.556 MB / 1.036 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.2291, allocations: 23.81 kB / 1.036 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.23, allocations: 274.3 kB / 1.036 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.2324, allocations: 0.9559 MB / 1.037 GB, free: 2.348 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2336, allocations: 454.6 kB / 1.038 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001661/0.2352, allocations: 1.157 MB / 1.039 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000549/0.2358, allocations: 288.7 kB / 1.039 GB, free: 468 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.2368, allocations: 0.5842 MB / 1.04 GB, free: 15.87 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009674/0.2378, allocations: 336.6 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.698e-05/0.2379, allocations: 40 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.2391, allocations: 0.5919 MB / 1.041 GB, free: 14.92 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.2394, allocations: 191.4 kB / 1.041 GB, free: 14.73 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.2397, allocations: 183.5 kB / 1.041 GB, free: 14.55 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.2412, allocations: 0.9502 MB / 1.042 GB, free: 13.6 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2412, allocations: 0 / 1.042 GB, free: 13.6 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.948e-06/0.2412, allocations: 3.984 kB / 1.042 GB, free: 13.6 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.2412, allocations: 4 kB / 1.042 GB, free: 13.59 MB / 1.01 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.0017/0.2429, allocations: 0.95 MB / 1.043 GB, free: 12.61 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2429, allocations: 12.03 kB / 1.043 GB, free: 12.59 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.244, allocations: 187.3 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008737/0.2449, allocations: 469 kB / 1.044 GB, free: 11.93 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.2449, allocations: 20.66 kB / 1.044 GB, free: 11.91 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.245, allocations: 35.98 kB / 1.044 GB, free: 11.87 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.2457, allocations: 401.5 kB / 1.044 GB, free: 11.44 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.2457, allocations: 4 kB / 1.044 GB, free: 11.44 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.2457, allocations: 8 kB / 1.044 GB, free: 11.43 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.2458, allocations: 16.66 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.2462, allocations: 174.5 kB / 1.044 GB, free: 11.24 MB / 1.01 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.002094/0.2482, allocations: 1.125 MB / 1.045 GB, free: 10.07 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.2487, allocations: 187.9 kB / 1.045 GB, free: 9.879 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.2488, allocations: 87.66 kB / 1.046 GB, free: 9.789 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2489, allocations: 4 kB / 1.046 GB, free: 9.785 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.2492, allocations: 272 kB / 1.046 GB, free: 9.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.2492, allocations: 0 / 1.046 GB, free: 9.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=29): time 0.002869/0.2521, allocations: 0.923 MB / 1.047 GB, free: 8.512 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.2522, allocations: 59.41 kB / 1.047 GB, free: 8.441 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006804/0.2529, allocations: 0.5416 MB / 1.047 GB, free: 7.883 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.2529, allocations: 33.7 kB / 1.047 GB, free: 7.844 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.2532, allocations: 315.2 kB / 1.048 GB, free: 7.531 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2534, allocations: 111.2 kB / 1.048 GB, free: 7.422 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.2535, allocations: 95.67 kB / 1.048 GB, free: 7.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000344/0.2539, allocations: 0.5703 MB / 1.048 GB, free: 6.738 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.2541, allocations: 84.72 kB / 1.048 GB, free: 6.656 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.2544, allocations: 175.9 kB / 1.049 GB, free: 6.461 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.2548, allocations: 284.8 kB / 1.049 GB, free: 6.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2548, allocations: 0 / 1.049 GB, free: 6.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009724/0.2558, allocations: 417.4 kB / 1.049 GB, free: 5.742 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2558, allocations: 15.97 kB / 1.049 GB, free: 5.727 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2558, allocations: 0 / 1.049 GB, free: 5.727 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.2564, allocations: 99.56 kB / 1.049 GB, free: 5.625 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.2567, allocations: 67.91 kB / 1.049 GB, free: 5.559 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.2589, allocations: 2.251 MB / 1.052 GB, free: 3.188 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.2592, allocations: 19.94 kB / 1.052 GB, free: 3.168 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.2593, allocations: 16.03 kB / 1.052 GB, free: 3.152 MB / 1.01 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.0002326/0.2595, allocations: 206.7 kB / 1.052 GB, free: 2.941 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.2596, allocations: 55.72 kB / 1.052 GB, free: 2.887 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.2605, allocations: 350.5 kB / 1.052 GB, free: 2.535 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2605, allocations: 4 kB / 1.052 GB, free: 2.531 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2605, allocations: 4 kB / 1.052 GB, free: 2.527 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2605, allocations: 3.984 kB / 1.052 GB, free: 2.523 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.2624, allocations: 0.8997 MB / 1.053 GB, free: 1.578 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2624, allocations: 3.938 kB / 1.053 GB, free: 1.574 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.2627, allocations: 67.91 kB / 1.053 GB, free: 1.508 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/0.2632, allocations: 87.61 kB / 1.053 GB, free: 1.418 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.2632, allocations: 11.94 kB / 1.053 GB, free: 1.406 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3917/0.6549, allocations: 1.902 MB / 1.055 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6549, allocations: 2.906 kB / 1.055 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.6559, allocations: 0.575 MB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.6561, allocations: 78.7 kB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.6562, allocations: 11.44 kB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.6565, allocations: 9.938 kB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.6566, allocations: 25.78 kB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.6566, allocations: 15.67 kB / 1.056 GB, free: 219.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003224/0.6569, allocations: 336.7 kB / 1.056 GB, free: 219.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.657, allocations: 2.406 kB / 1.056 GB, free: 219.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005434/0.6575, allocations: 130.7 kB / 1.056 GB, free: 219.7 MB / 1.01 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.002889/0.6604, allocations: 468.2 kB / 1.057 GB, free: 219.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007092/0.6611, allocations: 441.1 kB / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6611, allocations: 0 / 1.057 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.6614, allocations: 306.7 kB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6625, allocations: 247.5 kB / 1.058 GB, free: 219.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.6641, allocations: 0.8866 MB / 1.059 GB, free: 218.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.6643, allocations: 251.6 kB / 1.059 GB, free: 218.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.6645, allocations: 78.59 kB / 1.059 GB, free: 218.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.6646, allocations: 40.62 kB / 1.059 GB, free: 218.7 MB / 1.01 GB Notification: Performance of SimCode: time 7.62e-07/0.6646, allocations: 0 / 1.059 GB, free: 218.7 MB / 1.01 GB Notification: Performance of Templates: time 0.01444/0.6791, allocations: 9.676 MB / 1.068 GB, free: 217.7 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/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: 9.442698897910304]