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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 249.4 MB / 256.7 MB, free: 7.094 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.001081/0.001081, allocations: 184.3 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.001088/0.001088, allocations: 88.45 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.354e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2458, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.058/5.304, allocations: 2.19 GB / 3.074 GB, free: 214 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/5.304, allocations: 93.02 kB / 3.075 GB, free: 213.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1231/5.427, allocations: 57.3 MB / 3.131 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.582e-05/5.427, allocations: 31.92 kB / 3.131 GB, free: 156.3 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.001843/5.429, allocations: 1.094 MB / 3.132 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/5.429, allocations: 8.031 kB / 3.132 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/5.43, allocations: 262.4 kB / 3.132 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/5.431, allocations: 0.6154 MB / 3.132 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/5.431, allocations: 24 kB / 3.133 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/5.432, allocations: 51.98 kB / 3.133 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001276/5.433, allocations: 0.9913 MB / 3.134 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/5.434, allocations: 0.7492 MB / 3.134 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/5.434, allocations: 4 kB / 3.134 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/5.434, allocations: 7.984 kB / 3.134 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/5.434, allocations: 20 kB / 3.134 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/5.437, allocations: 2.544 MB / 3.137 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009965/5.438, allocations: 0.7626 MB / 3.138 GB, free: 149 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/5.439, allocations: 242.8 kB / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/5.439, allocations: 28.62 kB / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/5.439, allocations: 378.1 kB / 3.138 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.875e-06/5.439, allocations: 0 / 3.138 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001458/5.441, allocations: 0.652 MB / 3.139 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/5.441, allocations: 240 kB / 3.139 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005344/5.441, allocations: 0.4984 MB / 3.14 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/5.441, allocations: 29.7 kB / 3.14 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/5.441, allocations: 312 kB / 3.14 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/5.442, allocations: 224.6 kB / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/5.442, allocations: 0 / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/5.442, allocations: 382.7 kB / 3.14 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/5.442, allocations: 189.3 kB / 3.141 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/5.442, allocations: 313 kB / 3.141 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/5.443, allocations: 243 kB / 3.141 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/5.443, allocations: 0 / 3.141 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00136/5.444, allocations: 0.6638 MB / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/5.444, allocations: 8.156 kB / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/5.444, allocations: 0 / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/5.445, allocations: 84.78 kB / 3.142 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/5.445, allocations: 143.8 kB / 3.142 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/5.447, allocations: 1.457 MB / 3.143 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005697/5.448, allocations: 71.52 kB / 3.143 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/5.448, allocations: 27.98 kB / 3.144 GB, free: 142.6 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.0001522/5.448, allocations: 116.9 kB / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/5.448, allocations: 75.06 kB / 3.144 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/5.45, allocations: 0.9099 MB / 3.145 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/5.45, allocations: 8 kB / 3.145 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/5.45, allocations: 7.906 kB / 3.145 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/5.45, allocations: 7.984 kB / 3.145 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/5.453, allocations: 1.756 MB / 3.146 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/5.453, allocations: 0 / 3.146 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/5.453, allocations: 151.8 kB / 3.146 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/5.454, allocations: 88.67 kB / 3.147 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/5.454, allocations: 15.98 kB / 3.147 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/5.455, allocations: 1.469 MB / 3.148 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/5.455, allocations: 0 / 3.148 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001326/5.457, allocations: 0.8245 MB / 3.149 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/5.457, allocations: 271.8 kB / 3.149 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/5.457, allocations: 3.938 kB / 3.149 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/5.458, allocations: 59.94 kB / 3.149 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/5.458, allocations: 52.7 kB / 3.149 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/5.458, allocations: 39.88 kB / 3.149 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004167/5.458, allocations: 402.9 kB / 3.15 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009813/5.459, allocations: 311.1 kB / 3.15 GB, free: 135.8 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.001456/5.461, allocations: 1.011 MB / 3.151 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001034/5.462, allocations: 0.6509 MB / 3.152 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/5.462, allocations: 8 kB / 3.152 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005991/5.462, allocations: 440.7 kB / 3.152 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009692/5.463, allocations: 220.2 kB / 3.152 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/5.467, allocations: 1.339 MB / 3.153 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/5.467, allocations: 1.119 MB / 3.155 GB, free: 131 MB / 0.8698 GB Notification: Performance of SimCode: time 3.71e-07/5.467, allocations: 3.938 kB / 3.155 GB, free: 131 MB / 0.8698 GB Notification: Performance of Templates: time 0.02685/5.494, allocations: 16.75 MB / 3.171 GB, free: 114.3 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