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.002037/0.002037, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.00262/0.00262, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.592/1.592, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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 2.924/2.924, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.553e-06/1.553e-06, allocations: 0 / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.492e-05, allocations: 2.281 kB / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7822/0.7822, allocations: 143.6 MB / 1.14 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004489/0.7867, allocations: 3.331 MB / 1.144 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.7871, allocations: 24.19 kB / 1.144 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.7878, allocations: 273.9 kB / 1.144 GB, free: 45.22 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.7897, allocations: 0.9532 MB / 1.145 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/0.7905, allocations: 468.2 kB / 1.145 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.7916, allocations: 1.146 MB / 1.146 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.7919, allocations: 288.3 kB / 1.147 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.7927, allocations: 0.575 MB / 1.147 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008485/0.7935, allocations: 322.8 kB / 1.147 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.185e-05/0.7936, allocations: 42.53 kB / 1.148 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009841/0.7946, allocations: 0.5942 MB / 1.148 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.7948, allocations: 177.5 kB / 1.148 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.795, allocations: 184 kB / 1.148 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.796, allocations: 0.9522 MB / 1.149 GB, free: 45.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.796, allocations: 0 / 1.149 GB, free: 45.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.824e-06/0.796, allocations: 1 kB / 1.149 GB, free: 45.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.796, allocations: 1.203 kB / 1.149 GB, free: 45.07 MB / 1.076 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.001187/0.7972, allocations: 0.817 MB / 1.15 GB, free: 44.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.7972, allocations: 8.719 kB / 1.15 GB, free: 44.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.7983, allocations: 153.4 kB / 1.15 GB, free: 44.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.7989, allocations: 446.3 kB / 1.151 GB, free: 44.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.7989, allocations: 22.03 kB / 1.151 GB, free: 44.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.799, allocations: 30.53 kB / 1.151 GB, free: 44.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.7995, allocations: 432.2 kB / 1.151 GB, free: 44.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.7995, allocations: 0.8438 kB / 1.151 GB, free: 44.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.7995, allocations: 14.53 kB / 1.151 GB, free: 44.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.7996, allocations: 12.62 kB / 1.151 GB, free: 44.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.7999, allocations: 226.8 kB / 1.151 GB, free: 44.15 MB / 1.076 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.001463/0.8014, allocations: 0.8993 MB / 1.152 GB, free: 43.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.8018, allocations: 216.1 kB / 1.153 GB, free: 43.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.8019, allocations: 100.5 kB / 1.153 GB, free: 43.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.8019, allocations: 6.5 kB / 1.153 GB, free: 43.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.8022, allocations: 268.4 kB / 1.153 GB, free: 43.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.8022, allocations: 0.9375 kB / 1.153 GB, free: 43.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=29): time 0.002546/0.8048, allocations: 1.029 MB / 1.154 GB, free: 43.33 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.8048, allocations: 57.8 kB / 1.154 GB, free: 43.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.8052, allocations: 466.4 kB / 1.154 GB, free: 43.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.8053, allocations: 35.98 kB / 1.154 GB, free: 43.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.8054, allocations: 249.2 kB / 1.155 GB, free: 42.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.8055, allocations: 114.7 kB / 1.155 GB, free: 42.92 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.8056, allocations: 70.48 kB / 1.155 GB, free: 42.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.8056, allocations: 355.1 kB / 1.155 GB, free: 42.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.8059, allocations: 132 kB / 1.155 GB, free: 42.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.8061, allocations: 181.1 kB / 1.156 GB, free: 42.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.8065, allocations: 316.3 kB / 1.156 GB, free: 42.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8065, allocations: 0 / 1.156 GB, free: 42.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009253/0.8074, allocations: 498.9 kB / 1.156 GB, free: 42.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.8074, allocations: 7.562 kB / 1.156 GB, free: 42.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8074, allocations: 1.031 kB / 1.156 GB, free: 42.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.8078, allocations: 87.95 kB / 1.156 GB, free: 42.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.8081, allocations: 64.81 kB / 1.156 GB, free: 42.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.8094, allocations: 1.767 MB / 1.158 GB, free: 41.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.8097, allocations: 13.25 kB / 1.158 GB, free: 41.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.8098, allocations: 18.59 kB / 1.158 GB, free: 41.07 MB / 1.076 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.0001859/0.81, allocations: 200.4 kB / 1.158 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.81, allocations: 48.33 kB / 1.158 GB, free: 40.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007923/0.8108, allocations: 406.7 kB / 1.159 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.8108, allocations: 7.062 kB / 1.159 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.8108, allocations: 0 / 1.159 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8108, allocations: 3.234 kB / 1.159 GB, free: 40.87 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.8121, allocations: 0.8403 MB / 1.16 GB, free: 40.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8121, allocations: 2.875 kB / 1.16 GB, free: 40.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.8125, allocations: 60.64 kB / 1.16 GB, free: 40.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/0.8127, allocations: 81.38 kB / 1.16 GB, free: 40.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.8128, allocations: 11.44 kB / 1.16 GB, free: 40.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.8138, allocations: 1.519 MB / 1.161 GB, free: 39.42 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8138, allocations: 0.875 kB / 1.161 GB, free: 39.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.8147, allocations: 0.5824 MB / 1.162 GB, free: 39.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.8148, allocations: 74.62 kB / 1.162 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.8149, allocations: 11.44 kB / 1.162 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.8152, allocations: 9.688 kB / 1.162 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.8153, allocations: 22.89 kB / 1.162 GB, free: 39.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.8153, allocations: 9.406 kB / 1.162 GB, free: 39.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00027/0.8156, allocations: 309.2 kB / 1.162 GB, free: 39.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8156, allocations: 4.188 kB / 1.162 GB, free: 39.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004979/0.8161, allocations: 128 kB / 1.162 GB, free: 39.14 MB / 1.076 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.001691/0.8178, allocations: 465.9 kB / 1.163 GB, free: 38.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006331/0.8184, allocations: 415.7 kB / 1.163 GB, free: 38.87 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8184, allocations: 3.594 kB / 1.163 GB, free: 38.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.8186, allocations: 239.2 kB / 1.163 GB, free: 38.76 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.8198, allocations: 250.3 kB / 1.164 GB, free: 38.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.8212, allocations: 0.9356 MB / 1.165 GB, free: 38.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/0.8213, allocations: 247.6 kB / 1.165 GB, free: 38.23 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.8216, allocations: 82.47 kB / 1.165 GB, free: 38.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.8217, allocations: 39.12 kB / 1.165 GB, free: 38.21 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.8217, allocations: 5.344 kB / 1.165 GB, free: 38.21 MB / 1.076 GB Notification: Performance of Templates: time 0.01625/0.838, allocations: 9.345 MB / 1.174 GB, free: 37.37 MB / 1.076 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/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.359247151762247]