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.529/1.529, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 161 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009948/0.0009951, allocations: 90.45 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.279e-05/4.281e-05, allocations: 0 / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2439, allocations: 106.3 MB / 0.8918 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.843/7.087, allocations: 2.19 GB / 3.081 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/7.088, allocations: 88.05 kB / 3.081 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1199/7.208, allocations: 57.68 MB / 3.138 GB, free: 85.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.415e-06/7.208, allocations: 0 / 3.138 GB, free: 85.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.18e-05/7.208, allocations: 24 kB / 3.138 GB, free: 85.86 MB / 0.8698 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.002155/7.21, allocations: 1.051 MB / 3.139 GB, free: 84.76 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.477e-05/7.21, allocations: 12.03 kB / 3.139 GB, free: 84.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/7.211, allocations: 242.5 kB / 3.139 GB, free: 84.51 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/7.212, allocations: 0.6152 MB / 3.14 GB, free: 83.86 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/7.213, allocations: 62 kB / 3.14 GB, free: 83.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/7.213, allocations: 83.98 kB / 3.14 GB, free: 83.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/7.214, allocations: 0.8625 MB / 3.141 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/7.214, allocations: 0 / 3.141 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/7.214, allocations: 32 kB / 3.141 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/7.214, allocations: 23.95 kB / 3.141 GB, free: 82.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/7.216, allocations: 1.054 MB / 3.142 GB, free: 81.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/7.219, allocations: 2.676 MB / 3.144 GB, free: 78.94 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/7.22, allocations: 0.802 MB / 3.145 GB, free: 78.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/7.221, allocations: 263.2 kB / 3.145 GB, free: 77.85 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.923e-05/7.221, allocations: 32.8 kB / 3.145 GB, free: 77.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006116/7.221, allocations: 421.2 kB / 3.146 GB, free: 77.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.274e-06/7.221, allocations: 0 / 3.146 GB, free: 77.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001508/7.223, allocations: 0.6876 MB / 3.146 GB, free: 76.69 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/7.223, allocations: 240.1 kB / 3.147 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/7.224, allocations: 0.5737 MB / 3.147 GB, free: 75.82 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/7.224, allocations: 41.7 kB / 3.147 GB, free: 75.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/7.224, allocations: 380.2 kB / 3.148 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/7.224, allocations: 248.4 kB / 3.148 GB, free: 75.14 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/7.224, allocations: 16 kB / 3.148 GB, free: 75.13 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001126/7.224, allocations: 382.7 kB / 3.148 GB, free: 74.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/7.225, allocations: 201.5 kB / 3.148 GB, free: 74.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/7.225, allocations: 331.7 kB / 3.149 GB, free: 74.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/7.225, allocations: 254 kB / 3.149 GB, free: 73.94 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/7.225, allocations: 0 / 3.149 GB, free: 73.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001295/7.227, allocations: 0.7071 MB / 3.15 GB, free: 73.22 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/7.227, allocations: 8 kB / 3.15 GB, free: 73.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/7.227, allocations: 0 / 3.15 GB, free: 73.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005724/7.227, allocations: 80.84 kB / 3.15 GB, free: 73.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/7.228, allocations: 147.8 kB / 3.15 GB, free: 72.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/7.23, allocations: 1.525 MB / 3.151 GB, free: 71.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/7.23, allocations: 83.34 kB / 3.152 GB, free: 71.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/7.23, allocations: 27.98 kB / 3.152 GB, free: 71.21 MB / 0.8698 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 () * 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.0001868/7.231, allocations: 144.8 kB / 3.152 GB, free: 71.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/7.231, allocations: 79.06 kB / 3.152 GB, free: 70.99 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/7.233, allocations: 0.958 MB / 3.153 GB, free: 70.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/7.233, allocations: 8 kB / 3.153 GB, free: 70.01 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/7.233, allocations: 3.953 kB / 3.153 GB, free: 70.01 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.562e-05/7.233, allocations: 7.984 kB / 3.153 GB, free: 70 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/7.235, allocations: 1.917 MB / 3.155 GB, free: 68.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/7.235, allocations: 0 / 3.155 GB, free: 68.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/7.236, allocations: 143.8 kB / 3.155 GB, free: 67.87 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/7.236, allocations: 84.78 kB / 3.155 GB, free: 67.78 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/7.237, allocations: 23.98 kB / 3.155 GB, free: 67.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/7.238, allocations: 1.544 MB / 3.156 GB, free: 66.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/7.238, allocations: 4.031 kB / 3.156 GB, free: 66.07 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/7.239, allocations: 0.8728 MB / 3.157 GB, free: 65.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003641/7.24, allocations: 279.7 kB / 3.157 GB, free: 64.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.389e-05/7.24, allocations: 16 kB / 3.157 GB, free: 64.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/7.241, allocations: 67.95 kB / 3.158 GB, free: 64.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/7.241, allocations: 64.64 kB / 3.158 GB, free: 64.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/7.241, allocations: 31.92 kB / 3.158 GB, free: 64.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005461/7.241, allocations: 475.1 kB / 3.158 GB, free: 64.25 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.241, allocations: 0 / 3.158 GB, free: 64.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001088/7.242, allocations: 331.2 kB / 3.158 GB, free: 63.93 MB / 0.8698 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) * 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.001833/7.244, allocations: 0.9844 MB / 3.159 GB, free: 63.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001342/7.246, allocations: 0.6866 MB / 3.16 GB, free: 62.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/7.246, allocations: 7.938 kB / 3.16 GB, free: 62.31 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000622/7.246, allocations: 475 kB / 3.161 GB, free: 61.83 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/7.247, allocations: 244 kB / 3.161 GB, free: 61.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/7.251, allocations: 1.332 MB / 3.162 GB, free: 60.23 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/7.251, allocations: 1.023 MB / 3.163 GB, free: 59.19 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000857/7.252, allocations: 254.2 kB / 3.163 GB, free: 58.93 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/7.252, allocations: 103.4 kB / 3.163 GB, free: 58.83 MB / 0.8698 GB Notification: Performance of SimCode: time 1.183e-06/7.252, allocations: 0 / 3.163 GB, free: 58.83 MB / 0.8698 GB Notification: Performance of Templates: time 0.03639/7.289, allocations: 21.99 MB / 3.185 GB, free: 36.91 MB / 0.8698 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