Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.001934/0.001934, allocations: 78.41 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.002346/0.002346, allocations: 169.3 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.426/1.426, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.766/2.766, allocations: 377.8 MB / 0.6221 GB, free: 12.65 MB / 0.5919 GB " [Timeout remaining time 177] 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.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.9814 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.894e-05, allocations: 5.516 kB / 0.9814 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00697/0.006999, allocations: 4.49 MB / 0.9858 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1738/0.1808, allocations: 132.8 MB / 1.115 GB, free: 2.273 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.1815, allocations: 23.81 kB / 1.115 GB, free: 2.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.1821, allocations: 210 kB / 1.116 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.1837, allocations: 0.5815 MB / 1.116 GB, free: 1.461 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.1857, allocations: 0.8957 MB / 1.117 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.1874, allocations: 1.509 MB / 1.119 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007215/0.1881, allocations: 414 kB / 1.119 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.1891, allocations: 0.7795 MB / 1.12 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.1897, allocations: 422.8 kB / 1.12 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.1899, allocations: 128 kB / 1.12 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000935/0.1908, allocations: 0.4954 MB / 1.121 GB, free: 12.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.1912, allocations: 315 kB / 1.121 GB, free: 12.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.1917, allocations: 406.9 kB / 1.121 GB, free: 12.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.194, allocations: 1.838 MB / 1.123 GB, free: 10.26 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.194, allocations: 3.938 kB / 1.123 GB, free: 10.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.362e-06/0.194, allocations: 8 kB / 1.123 GB, free: 10.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.194, allocations: 0 / 1.123 GB, free: 10.25 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002754/0.1968, allocations: 1.451 MB / 1.125 GB, free: 8.762 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1968, allocations: 8.031 kB / 1.125 GB, free: 8.754 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.1987, allocations: 291.9 kB / 1.125 GB, free: 8.469 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.2002, allocations: 0.7375 MB / 1.126 GB, free: 7.703 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.338e-05/0.2002, allocations: 74.12 kB / 1.126 GB, free: 7.629 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.2004, allocations: 88 kB / 1.126 GB, free: 7.543 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.2025, allocations: 1.258 MB / 1.127 GB, free: 6.176 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.2025, allocations: 4 kB / 1.127 GB, free: 6.172 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.2026, allocations: 36 kB / 1.127 GB, free: 6.137 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.2026, allocations: 27.94 kB / 1.127 GB, free: 6.109 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.2047, allocations: 1.124 MB / 1.128 GB, free: 4.984 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005087/0.2098, allocations: 2.545 MB / 1.131 GB, free: 2.375 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.2118, allocations: 0.867 MB / 1.132 GB, free: 1.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.2124, allocations: 303.7 kB / 1.132 GB, free: 1.199 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.944e-05/0.2125, allocations: 28.92 kB / 1.132 GB, free: 1.172 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.2136, allocations: 0.6206 MB / 1.132 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of pre-optimization done (n=91): time 2.716e-06/0.2136, allocations: 0 / 1.132 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of matching and sorting (n=91): time 0.433/0.6466, allocations: 1.19 MB / 1.134 GB, free: 195 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.6466, allocations: 205.4 kB / 1.134 GB, free: 194.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.6473, allocations: 0.6136 MB / 1.134 GB, free: 194.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.692e-05/0.6474, allocations: 51.67 kB / 1.134 GB, free: 194.6 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.6476, allocations: 419.2 kB / 1.135 GB, free: 194.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.6478, allocations: 308.6 kB / 1.135 GB, free: 194.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.648, allocations: 183.2 kB / 1.135 GB, free: 194.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.648, allocations: 395.2 kB / 1.136 GB, free: 193.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.6486, allocations: 302.2 kB / 1.136 GB, free: 193.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/0.6492, allocations: 0.5421 MB / 1.137 GB, free: 193.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.6502, allocations: 0.6861 MB / 1.137 GB, free: 193 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6502, allocations: 4.062 kB / 1.137 GB, free: 193 MB / 1.076 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001913/0.6521, allocations: 0.9501 MB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6522, allocations: 5.688 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6522, allocations: 0.9375 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006005/0.6528, allocations: 85.3 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.6534, allocations: 187.1 kB / 1.138 GB, free: 192.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.6552, allocations: 1.505 MB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.656, allocations: 99.48 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/0.656, allocations: 41.78 kB / 1.14 GB, free: 191.2 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004328/0.6565, allocations: 283.3 kB / 1.14 GB, free: 191 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.6566, allocations: 91.91 kB / 1.14 GB, free: 190.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.6589, allocations: 1.119 MB / 1.141 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.6589, allocations: 11.66 kB / 1.141 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6589, allocations: 0 / 1.141 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6589, allocations: 6.328 kB / 1.141 GB, free: 190.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/0.6621, allocations: 1.944 MB / 1.143 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6621, allocations: 3.938 kB / 1.143 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.6626, allocations: 156.3 kB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004235/0.6631, allocations: 75.5 kB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/0.6631, allocations: 30.78 kB / 1.144 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.6646, allocations: 1.522 MB / 1.145 GB, free: 188.2 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6646, allocations: 0 / 1.145 GB, free: 188.2 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.6664, allocations: 1.056 MB / 1.146 GB, free: 187.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.6668, allocations: 197.9 kB / 1.146 GB, free: 187.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.6669, allocations: 32.11 kB / 1.146 GB, free: 187.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.6676, allocations: 69.72 kB / 1.146 GB, free: 187.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.6677, allocations: 78.16 kB / 1.146 GB, free: 187.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.6678, allocations: 38.11 kB / 1.147 GB, free: 187.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004615/0.6682, allocations: 440.7 kB / 1.147 GB, free: 187.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.6682, allocations: 0 / 1.147 GB, free: 187.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008968/0.6691, allocations: 351.4 kB / 1.147 GB, free: 187.3 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002045/0.6712, allocations: 0.6633 MB / 1.148 GB, free: 187.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001773/0.673, allocations: 0.8664 MB / 1.149 GB, free: 186.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.673, allocations: 1.953 kB / 1.149 GB, free: 186.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008772/0.6738, allocations: 0.5161 MB / 1.149 GB, free: 186.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.6752, allocations: 307.6 kB / 1.15 GB, free: 186.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.678, allocations: 1.73 MB / 1.151 GB, free: 185.6 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.6783, allocations: 456 kB / 1.152 GB, free: 185.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007303/0.679, allocations: 282.4 kB / 1.152 GB, free: 185.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.6793, allocations: 115.6 kB / 1.152 GB, free: 185.3 MB / 1.076 GB Notification: Performance of SimCode: time 1.543e-06/0.6793, allocations: 0 / 1.152 GB, free: 185.3 MB / 1.076 GB Notification: Performance of Templates: time 0.02926/0.7086, allocations: 16.4 MB / 1.168 GB, free: 183.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.173864886164665]