Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.718/1.718, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.0008943/0.0008943, allocations: 188.1 kB / 490.8 MB, free: 1.973 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.061/1.061, allocations: 221.3 MB / 0.7863 GB, free: 13.75 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.0008339/0.0008339, allocations: 110.4 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.839e-06/4.849e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1714, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.34/2.512, allocations: 1.731 GB / 2.942 GB, free: 122.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/2.512, allocations: 83.83 kB / 2.942 GB, free: 122.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1086/2.62, allocations: 58.74 MB / 3 GB, free: 70.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.028e-05/2.62, allocations: 27.88 kB / 3 GB, free: 70 MB / 1.151 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.00137/2.622, allocations: 1.125 MB / 3.001 GB, free: 68.83 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/2.622, allocations: 8.031 kB / 3.001 GB, free: 68.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/2.623, allocations: 254.5 kB / 3.001 GB, free: 68.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000721/2.624, allocations: 0.6231 MB / 3.002 GB, free: 67.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/2.624, allocations: 24 kB / 3.002 GB, free: 67.88 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/2.624, allocations: 51.94 kB / 3.002 GB, free: 67.83 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001116/2.625, allocations: 0.9992 MB / 3.003 GB, free: 66.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008983/2.626, allocations: 0.757 MB / 3.003 GB, free: 66.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/2.626, allocations: 0 / 3.003 GB, free: 66.02 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/2.626, allocations: 4 kB / 3.003 GB, free: 66.02 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/2.626, allocations: 20 kB / 3.003 GB, free: 66 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002645/2.629, allocations: 2.571 MB / 3.006 GB, free: 63.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/2.629, allocations: 0.7549 MB / 3.007 GB, free: 62.58 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/2.63, allocations: 246.7 kB / 3.007 GB, free: 62.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.015e-05/2.63, allocations: 40.61 kB / 3.007 GB, free: 62.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/2.63, allocations: 378.1 kB / 3.007 GB, free: 61.91 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 1.993e-06/2.63, allocations: 0 / 3.007 GB, free: 61.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001253/2.631, allocations: 0.6481 MB / 3.008 GB, free: 61.25 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/2.631, allocations: 240 kB / 3.008 GB, free: 60.96 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/2.632, allocations: 0.4983 MB / 3.009 GB, free: 60.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/2.632, allocations: 29.7 kB / 3.009 GB, free: 60.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/2.632, allocations: 308 kB / 3.009 GB, free: 60.11 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/2.632, allocations: 232.5 kB / 3.009 GB, free: 59.88 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/2.632, allocations: 8 kB / 3.009 GB, free: 59.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/2.632, allocations: 374.7 kB / 3.01 GB, free: 59.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/2.633, allocations: 193.2 kB / 3.01 GB, free: 59.31 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/2.633, allocations: 309 kB / 3.01 GB, free: 58.97 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/2.633, allocations: 247 kB / 3.01 GB, free: 58.73 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/2.633, allocations: 0 / 3.01 GB, free: 58.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001197/2.634, allocations: 0.6639 MB / 3.011 GB, free: 58.06 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/2.634, allocations: 4 kB / 3.011 GB, free: 58.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/2.634, allocations: 4 kB / 3.011 GB, free: 58.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/2.635, allocations: 76.94 kB / 3.011 GB, free: 57.97 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/2.635, allocations: 151.8 kB / 3.011 GB, free: 57.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/2.637, allocations: 1.457 MB / 3.013 GB, free: 56.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/2.637, allocations: 75.5 kB / 3.013 GB, free: 56.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/2.637, allocations: 31.98 kB / 3.013 GB, free: 56.14 MB / 1.151 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.0001092/2.638, allocations: 112.9 kB / 3.013 GB, free: 56.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.821e-05/2.638, allocations: 75.06 kB / 3.013 GB, free: 55.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/2.639, allocations: 0.9137 MB / 3.014 GB, free: 55.02 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/2.639, allocations: 15.94 kB / 3.014 GB, free: 55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/2.639, allocations: 3.906 kB / 3.014 GB, free: 55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/2.639, allocations: 3.984 kB / 3.014 GB, free: 55 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/2.642, allocations: 1.763 MB / 3.015 GB, free: 53.17 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/2.642, allocations: 0 / 3.015 GB, free: 53.17 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/2.642, allocations: 143.8 kB / 3.016 GB, free: 53.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/2.643, allocations: 88.69 kB / 3.016 GB, free: 52.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/2.643, allocations: 11.98 kB / 3.016 GB, free: 52.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/2.644, allocations: 1.485 MB / 3.017 GB, free: 51.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/2.644, allocations: 4.062 kB / 3.017 GB, free: 51.32 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001157/2.645, allocations: 0.8205 MB / 3.018 GB, free: 50.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/2.645, allocations: 279.8 kB / 3.018 GB, free: 50.19 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/2.645, allocations: 0 / 3.018 GB, free: 50.19 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/2.646, allocations: 55.95 kB / 3.018 GB, free: 50.13 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/2.646, allocations: 52.59 kB / 3.018 GB, free: 50.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/2.646, allocations: 31.98 kB / 3.018 GB, free: 50.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003084/2.646, allocations: 410.9 kB / 3.019 GB, free: 49.65 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007189/2.647, allocations: 335.1 kB / 3.019 GB, free: 49.32 MB / 1.151 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.001163/2.648, allocations: 1.046 MB / 3.02 GB, free: 48.38 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008372/2.649, allocations: 0.6549 MB / 3.021 GB, free: 47.71 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/2.649, allocations: 0 / 3.021 GB, free: 47.71 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005232/2.65, allocations: 448.5 kB / 3.021 GB, free: 47.26 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008333/2.651, allocations: 217.1 kB / 3.021 GB, free: 47.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/2.653, allocations: 1.339 MB / 3.023 GB, free: 45.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/2.654, allocations: 1.132 MB / 3.024 GB, free: 44.53 MB / 1.151 GB Notification: Performance of SimCode: time 7.41e-07/2.654, allocations: 0 / 3.024 GB, free: 44.53 MB / 1.151 GB Notification: Performance of Templates: time 0.01933/2.673, allocations: 17.05 MB / 3.04 GB, free: 27.61 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches