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.001504/0.001504, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001554/0.001554, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9106/0.9106, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.758/1.758, allocations: 377.9 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] 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.853e-06/1.853e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.461e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6852/0.6852, allocations: 143.6 MB / 1.122 GB, free: 16.03 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004089/0.6893, allocations: 3.33 MB / 1.126 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.6896, allocations: 24.03 kB / 1.126 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.6904, allocations: 281.2 kB / 1.126 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.692, allocations: 0.9504 MB / 1.127 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.6927, allocations: 463.8 kB / 1.127 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.6938, allocations: 1.153 MB / 1.128 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.6942, allocations: 276.9 kB / 1.129 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007846/0.695, allocations: 0.5813 MB / 1.129 GB, free: 11.93 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/0.6958, allocations: 328 kB / 1.13 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.6959, allocations: 40.22 kB / 1.13 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008521/0.6968, allocations: 0.5898 MB / 1.13 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.697, allocations: 176.8 kB / 1.13 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.6972, allocations: 189.1 kB / 1.131 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.6984, allocations: 0.9483 MB / 1.131 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6984, allocations: 0 / 1.131 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6984, allocations: 1.312 kB / 1.131 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.6984, allocations: 0 / 1.131 GB, free: 11.11 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.001106/0.6995, allocations: 0.8183 MB / 1.132 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.6996, allocations: 9.969 kB / 1.132 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/0.7002, allocations: 158.3 kB / 1.132 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.7008, allocations: 447.6 kB / 1.133 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.7008, allocations: 24.91 kB / 1.133 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.7009, allocations: 36.33 kB / 1.133 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004803/0.7014, allocations: 421.8 kB / 1.133 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.7014, allocations: 5.094 kB / 1.133 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.7014, allocations: 16.23 kB / 1.133 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.7014, allocations: 13.84 kB / 1.133 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.7017, allocations: 220.8 kB / 1.134 GB, free: 9.797 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.00121/0.7029, allocations: 0.91 MB / 1.134 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.7032, allocations: 207.8 kB / 1.135 GB, free: 9.137 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.7034, allocations: 103.4 kB / 1.135 GB, free: 9.094 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.7034, allocations: 6.75 kB / 1.135 GB, free: 9.09 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.7036, allocations: 265.2 kB / 1.135 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/0.7036, allocations: 0 / 1.135 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.001827/0.7055, allocations: 1.03 MB / 1.136 GB, free: 8.344 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.7055, allocations: 55.92 kB / 1.136 GB, free: 8.281 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.7059, allocations: 467 kB / 1.136 GB, free: 8.062 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.7059, allocations: 31.92 kB / 1.137 GB, free: 8.027 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.7061, allocations: 244.7 kB / 1.137 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.7061, allocations: 117.7 kB / 1.137 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/0.7062, allocations: 75.8 kB / 1.137 GB, free: 7.691 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.7063, allocations: 359.3 kB / 1.137 GB, free: 7.355 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.7065, allocations: 129.3 kB / 1.137 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.7067, allocations: 184 kB / 1.138 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.707, allocations: 309.7 kB / 1.138 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.707, allocations: 4 kB / 1.138 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006393/0.7076, allocations: 490.2 kB / 1.138 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.7077, allocations: 9.594 kB / 1.138 GB, free: 6.812 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7077, allocations: 3.141 kB / 1.138 GB, free: 6.812 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.7079, allocations: 89.3 kB / 1.138 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.7081, allocations: 66.48 kB / 1.138 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.7092, allocations: 1.772 MB / 1.14 GB, free: 5.199 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.7094, allocations: 9.203 kB / 1.14 GB, free: 5.195 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.7094, allocations: 14.67 kB / 1.14 GB, free: 5.191 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.00016/0.7096, allocations: 195.5 kB / 1.14 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.7096, allocations: 53.52 kB / 1.14 GB, free: 5.004 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006142/0.7102, allocations: 418.2 kB / 1.141 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7103, allocations: 3.219 kB / 1.141 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.7103, allocations: 1.031 kB / 1.141 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.7103, allocations: 1.453 kB / 1.141 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.7114, allocations: 0.8286 MB / 1.142 GB, free: 4.336 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7114, allocations: 0.75 kB / 1.142 GB, free: 4.336 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.7116, allocations: 67.31 kB / 1.142 GB, free: 4.328 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001867/0.7118, allocations: 82.28 kB / 1.142 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.7118, allocations: 12.97 kB / 1.142 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008167/0.7126, allocations: 1.516 MB / 1.143 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7126, allocations: 1.094 kB / 1.143 GB, free: 2.922 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.7133, allocations: 0.5846 MB / 1.144 GB, free: 2.594 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.7135, allocations: 75.36 kB / 1.144 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.7135, allocations: 9.297 kB / 1.144 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.7136, allocations: 14.23 kB / 1.144 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.7137, allocations: 30.38 kB / 1.144 GB, free: 2.527 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.7137, allocations: 13.38 kB / 1.144 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003047/0.714, allocations: 307.7 kB / 1.144 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.714, allocations: 0 / 1.144 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004029/0.7144, allocations: 132 kB / 1.144 GB, free: 2.363 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.0008848/0.7153, allocations: 466.9 kB / 1.145 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006014/0.7159, allocations: 414.6 kB / 1.145 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7159, allocations: 0.6562 kB / 1.145 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.7161, allocations: 251 kB / 1.146 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007251/0.7169, allocations: 238.8 kB / 1.146 GB, free: 1.711 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.7181, allocations: 0.9683 MB / 1.147 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.7183, allocations: 251.7 kB / 1.147 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.942e-05/0.7184, allocations: 38.95 kB / 1.147 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of SimCode: time 7.81e-07/0.7184, allocations: 0 / 1.147 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of Templates: time 0.01191/0.7303, allocations: 9.673 MB / 1.156 GB, free: 32 kB / 0.9948 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.036496807821095]