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.001882/0.001882, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002062/0.002062, allocations: 164.4 kB / 22.46 MB, free: 5.375 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.938/2.938, allocations: 377.8 MB / 0.6221 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.677e-05, allocations: 9.375 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1925/0.1925, allocations: 143.6 MB / 1.122 GB, free: 11.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00625/0.1988, allocations: 3.33 MB / 1.125 GB, free: 8.504 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.1993, allocations: 23.81 kB / 1.125 GB, free: 8.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008721/0.2002, allocations: 274.3 kB / 1.125 GB, free: 8.211 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002364/0.2025, allocations: 0.952 MB / 1.126 GB, free: 7.254 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.2037, allocations: 469.8 kB / 1.127 GB, free: 6.797 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.2052, allocations: 1.145 MB / 1.128 GB, free: 5.648 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.2056, allocations: 268.6 kB / 1.128 GB, free: 5.383 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009618/0.2066, allocations: 0.5842 MB / 1.128 GB, free: 4.797 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009079/0.2075, allocations: 336.5 kB / 1.129 GB, free: 4.473 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.873e-05/0.2076, allocations: 40 kB / 1.129 GB, free: 4.434 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.2087, allocations: 0.5997 MB / 1.129 GB, free: 3.832 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.209, allocations: 175.4 kB / 1.13 GB, free: 3.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.2092, allocations: 187.5 kB / 1.13 GB, free: 3.477 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.2106, allocations: 0.9425 MB / 1.131 GB, free: 2.531 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2106, allocations: 0 / 1.131 GB, free: 2.531 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2106, allocations: 0 / 1.131 GB, free: 2.531 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2106, allocations: 0 / 1.131 GB, free: 2.531 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.001482/0.2121, allocations: 0.8153 MB / 1.131 GB, free: 1.684 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2122, allocations: 8.031 kB / 1.131 GB, free: 1.676 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2132, allocations: 163.5 kB / 1.132 GB, free: 1.516 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.214, allocations: 458.1 kB / 1.132 GB, free: 1.047 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2141, allocations: 20.66 kB / 1.132 GB, free: 1.027 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.2141, allocations: 28 kB / 1.132 GB, free: 1 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.2148, allocations: 427.8 kB / 1.133 GB, free: 0.543 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.2148, allocations: 4 kB / 1.133 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.2149, allocations: 8 kB / 1.133 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.2149, allocations: 12.66 kB / 1.133 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.2153, allocations: 218.5 kB / 1.133 GB, free: 312 kB / 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.476/0.6914, allocations: 0.9096 MB / 1.134 GB, free: 196.8 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.6917, allocations: 213.4 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.6919, allocations: 104.3 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.6919, allocations: 6.594 kB / 1.134 GB, free: 196.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.6922, allocations: 263.3 kB / 1.134 GB, free: 196.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 3.566e-06/0.6922, allocations: 4.875 kB / 1.134 GB, free: 196.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=29): time 0.002735/0.695, allocations: 1.025 MB / 1.135 GB, free: 196 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.695, allocations: 54.56 kB / 1.135 GB, free: 196 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/0.6955, allocations: 469.7 kB / 1.136 GB, free: 195.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.6955, allocations: 35.89 kB / 1.136 GB, free: 195.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.6956, allocations: 251.2 kB / 1.136 GB, free: 195.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.6957, allocations: 100.5 kB / 1.136 GB, free: 195.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.6958, allocations: 79.94 kB / 1.136 GB, free: 195.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.6959, allocations: 355.9 kB / 1.136 GB, free: 195.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.696, allocations: 130.2 kB / 1.137 GB, free: 195 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.6963, allocations: 185.5 kB / 1.137 GB, free: 194.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.6966, allocations: 314.9 kB / 1.137 GB, free: 194.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6966, allocations: 0 / 1.137 GB, free: 194.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008516/0.6975, allocations: 498 kB / 1.138 GB, free: 194.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6975, allocations: 5.781 kB / 1.138 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.6975, allocations: 2.844 kB / 1.138 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/0.6979, allocations: 87.44 kB / 1.138 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.6982, allocations: 66.45 kB / 1.138 GB, free: 194.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.6994, allocations: 1.763 MB / 1.139 GB, free: 192.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.6998, allocations: 13.11 kB / 1.139 GB, free: 192.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.6998, allocations: 15.66 kB / 1.139 GB, free: 192.9 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.0001867/0.7, allocations: 197.2 kB / 1.14 GB, free: 192.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.7001, allocations: 48.38 kB / 1.14 GB, free: 192.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/0.7009, allocations: 415.7 kB / 1.14 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.7009, allocations: 3.031 kB / 1.14 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7009, allocations: 2.875 kB / 1.14 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.7009, allocations: 2.516 kB / 1.14 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.7021, allocations: 0.8419 MB / 1.141 GB, free: 192.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7021, allocations: 5.312 kB / 1.141 GB, free: 192.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.7025, allocations: 64.64 kB / 1.141 GB, free: 192.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.7028, allocations: 77.62 kB / 1.141 GB, free: 192 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.7028, allocations: 12.52 kB / 1.141 GB, free: 192 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.7039, allocations: 1.511 MB / 1.143 GB, free: 190.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7039, allocations: 6.625 kB / 1.143 GB, free: 190.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009014/0.7048, allocations: 0.5817 MB / 1.143 GB, free: 190.4 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.7049, allocations: 78.83 kB / 1.143 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.705, allocations: 10.62 kB / 1.143 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.7053, allocations: 9.469 kB / 1.143 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.7054, allocations: 29.53 kB / 1.143 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.7054, allocations: 9.719 kB / 1.143 GB, free: 190.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002714/0.7057, allocations: 305.4 kB / 1.144 GB, free: 190.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7057, allocations: 0.6562 kB / 1.144 GB, free: 190.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000516/0.7062, allocations: 130.5 kB / 1.144 GB, free: 190.1 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.001697/0.7079, allocations: 473.1 kB / 1.144 GB, free: 190 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.7085, allocations: 404.5 kB / 1.145 GB, free: 189.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.7085, allocations: 2.094 kB / 1.145 GB, free: 189.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.7087, allocations: 252.4 kB / 1.145 GB, free: 189.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.7098, allocations: 238.9 kB / 1.145 GB, free: 189.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.7112, allocations: 0.9298 MB / 1.146 GB, free: 189.1 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.7113, allocations: 250.9 kB / 1.146 GB, free: 188.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.7116, allocations: 92.47 kB / 1.146 GB, free: 188.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-05/0.7117, allocations: 41.66 kB / 1.146 GB, free: 188.9 MB / 1.076 GB Notification: Performance of SimCode: time 5.91e-07/0.7117, allocations: 4 kB / 1.146 GB, free: 188.9 MB / 1.076 GB Notification: Performance of Templates: time 0.01376/0.7254, allocations: 9.338 MB / 1.155 GB, free: 187.9 MB / 1.076 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/jenkins/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: 9.03836851194501]