Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001167, allocations: 182.8 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.2 MB / 0.7948 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 104.3 kB / 0.9346 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004055, allocations: 8 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3396, allocations: 142.3 MB / 1.223 GB, free: 89.62 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.518/4.858, allocations: 1.731 GB / 2.953 GB, free: 254.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/4.858, allocations: 95.89 kB / 2.953 GB, free: 254 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1211/4.98, allocations: 58.55 MB / 3.011 GB, free: 195.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.807e-06/4.98, allocations: 0 / 3.011 GB, free: 195.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001117/4.98, allocations: 27.94 kB / 3.011 GB, free: 195.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002622/4.982, allocations: 1.2 MB / 3.012 GB, free: 194 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.149e-05/4.982, allocations: 8.031 kB / 3.012 GB, free: 194 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/4.984, allocations: 238.5 kB / 3.012 GB, free: 193.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/4.985, allocations: 0.6192 MB / 3.013 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/4.985, allocations: 66 kB / 3.013 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.242e-05/4.985, allocations: 80 kB / 3.013 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/4.986, allocations: 0.9248 MB / 3.014 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/4.986, allocations: 0 / 3.014 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/4.986, allocations: 39.95 kB / 3.014 GB, free: 191.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/4.986, allocations: 20 kB / 3.014 GB, free: 191.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/4.988, allocations: 1.135 MB / 3.015 GB, free: 190.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003314/4.991, allocations: 2.707 MB / 3.018 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/4.993, allocations: 0.8837 MB / 3.018 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.312e-05/4.993, allocations: 28.69 kB / 3.018 GB, free: 187 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006271/4.993, allocations: 435.3 kB / 3.019 GB, free: 186.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=74): time 2.384e-06/4.993, allocations: 0 / 3.019 GB, free: 186.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=74): time 0.002691/4.996, allocations: 1.101 MB / 3.02 GB, free: 185.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.681e-05/4.996, allocations: 241 kB / 3.02 GB, free: 185.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/4.997, allocations: 0.5971 MB / 3.021 GB, free: 184.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/4.997, allocations: 37.7 kB / 3.021 GB, free: 184.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/4.997, allocations: 384.2 kB / 3.021 GB, free: 184.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/4.997, allocations: 244.4 kB / 3.021 GB, free: 183.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/4.997, allocations: 16 kB / 3.021 GB, free: 183.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/4.997, allocations: 382.7 kB / 3.022 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/4.998, allocations: 221.2 kB / 3.022 GB, free: 183.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/4.998, allocations: 354.2 kB / 3.022 GB, free: 182.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/4.999, allocations: 275.1 kB / 3.023 GB, free: 182.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/4.999, allocations: 3.938 kB / 3.023 GB, free: 182.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001471/5, allocations: 0.7471 MB / 3.023 GB, free: 181.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/5, allocations: 4 kB / 3.023 GB, free: 181.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/5, allocations: 4 kB / 3.023 GB, free: 181.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/5.001, allocations: 84.92 kB / 3.023 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/5.001, allocations: 139.8 kB / 3.024 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/5.003, allocations: 1.544 MB / 3.025 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/5.004, allocations: 83.39 kB / 3.025 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/5.004, allocations: 31.97 kB / 3.025 GB, free: 179.9 MB / 1.167 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.0004111/5.004, allocations: 262.3 kB / 3.025 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/5.004, allocations: 75.06 kB / 3.025 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/5.006, allocations: 1.01 MB / 3.026 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/5.006, allocations: 8 kB / 3.026 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/5.006, allocations: 0 / 3.026 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/5.006, allocations: 3.984 kB / 3.026 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/5.009, allocations: 1.981 MB / 3.028 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/5.009, allocations: 0 / 3.028 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/5.01, allocations: 143.8 kB / 3.029 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/5.01, allocations: 84.77 kB / 3.029 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/5.01, allocations: 23.98 kB / 3.029 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/5.012, allocations: 1.563 MB / 3.03 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/5.012, allocations: 0 / 3.03 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/5.013, allocations: 0.9218 MB / 3.031 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/5.014, allocations: 283.7 kB / 3.031 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.637e-05/5.014, allocations: 23.95 kB / 3.031 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/5.014, allocations: 63.95 kB / 3.031 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/5.014, allocations: 64.91 kB / 3.031 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/5.014, allocations: 31.98 kB / 3.032 GB, free: 173.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005337/5.015, allocations: 483 kB / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.52e-07/5.015, allocations: 0 / 3.032 GB, free: 172.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001159/5.016, allocations: 371.1 kB / 3.032 GB, free: 172.2 MB / 1.167 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.001844/5.018, allocations: 1.074 MB / 3.033 GB, free: 171.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001331/5.019, allocations: 0.7358 MB / 3.034 GB, free: 170.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/5.019, allocations: 0 / 3.034 GB, free: 170.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006848/5.02, allocations: 0.4924 MB / 3.035 GB, free: 170.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/5.021, allocations: 254.8 kB / 3.035 GB, free: 169.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/5.025, allocations: 2.081 MB / 3.037 GB, free: 167.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/5.025, allocations: 1.027 MB / 3.038 GB, free: 166.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008158/5.026, allocations: 258.1 kB / 3.038 GB, free: 166.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/5.026, allocations: 95.39 kB / 3.038 GB, free: 166.3 MB / 1.167 GB Notification: Performance of SimCode: time 6.11e-07/5.026, allocations: 0 / 3.038 GB, free: 166.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02759/5.054, allocations: 20.71 MB / 3.058 GB, free: 145.7 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches