Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 191.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009675/0.0009674, allocations: 88.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8.969 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2547, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.2/6.455, allocations: 2.19 GB / 3.09 GB, free: 246 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/6.455, allocations: 90.11 kB / 3.09 GB, free: 246 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.13/6.585, allocations: 57.98 MB / 3.146 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.685e-06/6.585, allocations: 0 / 3.146 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.212e-05/6.585, allocations: 27.47 kB / 3.146 GB, free: 239.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.002151/6.587, allocations: 1.171 MB / 3.148 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/6.587, allocations: 11.72 kB / 3.148 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/6.588, allocations: 241.6 kB / 3.148 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009526/6.589, allocations: 0.6148 MB / 3.148 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/6.589, allocations: 58.78 kB / 3.149 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.99e-05/6.59, allocations: 83.44 kB / 3.149 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/6.591, allocations: 0.8992 MB / 3.149 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/6.591, allocations: 3.875 kB / 3.149 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/6.591, allocations: 35.5 kB / 3.15 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/6.591, allocations: 27.45 kB / 3.15 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/6.593, allocations: 1.125 MB / 3.151 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/6.596, allocations: 2.685 MB / 3.153 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/6.597, allocations: 0.8816 MB / 3.154 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.807e-05/6.598, allocations: 30.91 kB / 3.154 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006584/6.598, allocations: 433 kB / 3.155 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=74): time 3.015e-06/6.598, allocations: 3.906 kB / 3.155 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74): time 0.002726/6.601, allocations: 1.105 MB / 3.156 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.821e-05/6.601, allocations: 246.7 kB / 3.156 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/6.602, allocations: 0.5709 MB / 3.156 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/6.602, allocations: 44.2 kB / 3.156 GB, free: 235.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/6.602, allocations: 380.8 kB / 3.157 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/6.602, allocations: 242.3 kB / 3.157 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/6.602, allocations: 15.47 kB / 3.157 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000121/6.602, allocations: 375.1 kB / 3.157 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/6.603, allocations: 222 kB / 3.158 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/6.603, allocations: 348.8 kB / 3.158 GB, free: 235 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000436/6.604, allocations: 276.4 kB / 3.158 GB, free: 235 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/6.604, allocations: 0 / 3.158 GB, free: 235 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001491/6.605, allocations: 0.7493 MB / 3.159 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/6.605, allocations: 9.938 kB / 3.159 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/6.605, allocations: 3.906 kB / 3.159 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/6.606, allocations: 78.41 kB / 3.159 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/6.607, allocations: 146.3 kB / 3.159 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/6.608, allocations: 1.536 MB / 3.161 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/6.609, allocations: 82.03 kB / 3.161 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/6.609, allocations: 30.89 kB / 3.161 GB, free: 233.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004814/6.61, allocations: 259 kB / 3.161 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/6.61, allocations: 74.12 kB / 3.161 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/6.612, allocations: 1.006 MB / 3.162 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/6.612, allocations: 7.719 kB / 3.162 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/6.612, allocations: 7.938 kB / 3.162 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/6.612, allocations: 7.969 kB / 3.162 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/6.615, allocations: 1.967 MB / 3.164 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/6.615, allocations: 0 / 3.164 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/6.615, allocations: 148.8 kB / 3.164 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004869/6.616, allocations: 86.52 kB / 3.164 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/6.616, allocations: 23.05 kB / 3.164 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/6.617, allocations: 1.562 MB / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/6.617, allocations: 0 / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/6.619, allocations: 0.919 MB / 3.167 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/6.619, allocations: 281.4 kB / 3.167 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/6.62, allocations: 19.39 kB / 3.167 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/6.62, allocations: 67.05 kB / 3.167 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/6.62, allocations: 63.86 kB / 3.167 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/6.62, allocations: 32.55 kB / 3.167 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005817/6.621, allocations: 480 kB / 3.168 GB, free: 230 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.62e-07/6.621, allocations: 0 / 3.168 GB, free: 230 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0012/6.622, allocations: 335.6 kB / 3.168 GB, free: 229.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002015/6.624, allocations: 1.021 MB / 3.169 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001469/6.626, allocations: 0.7431 MB / 3.17 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/6.626, allocations: 320 / 3.17 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007253/6.626, allocations: 498.9 kB / 3.17 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/6.628, allocations: 251 kB / 3.17 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/6.631, allocations: 2.07 MB / 3.172 GB, free: 227.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/6.632, allocations: 1.027 MB / 3.173 GB, free: 226.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009108/6.633, allocations: 263.1 kB / 3.174 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/6.633, allocations: 101.4 kB / 3.174 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of SimCode: time 2.124e-06/6.633, allocations: 0 / 3.174 GB, free: 226.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.03164/6.665, allocations: 20.34 MB / 3.194 GB, free: 216.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches