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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.846/1.846, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009216/0.0009216, allocations: 177.2 kB / 487 MB, free: 5.348 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.199/1.199, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008671/0.0008671, allocations: 97.17 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.163e-06/7.173e-06, allocations: 3.938 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1958, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.632/2.827, allocations: 1.73 GB / 2.935 GB, free: 129.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/2.828, allocations: 88.27 kB / 2.935 GB, free: 129 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1134/2.941, allocations: 58.73 MB / 2.992 GB, free: 70.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.4e-05/2.941, allocations: 24 kB / 2.992 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.001464/2.943, allocations: 1.121 MB / 2.994 GB, free: 68.83 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/2.943, allocations: 9.031 kB / 2.994 GB, free: 68.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/2.944, allocations: 254.5 kB / 2.994 GB, free: 68.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/2.944, allocations: 0.623 MB / 2.994 GB, free: 67.91 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/2.945, allocations: 28 kB / 2.994 GB, free: 67.88 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.9e-05/2.945, allocations: 48 kB / 2.994 GB, free: 67.83 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001148/2.946, allocations: 0.9992 MB / 2.995 GB, free: 66.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/2.947, allocations: 0.757 MB / 2.996 GB, free: 66.03 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/2.947, allocations: 7.938 kB / 2.996 GB, free: 66.02 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/2.947, allocations: 3.938 kB / 2.996 GB, free: 66.02 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/2.947, allocations: 20 kB / 2.996 GB, free: 66 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/2.95, allocations: 2.571 MB / 2.999 GB, free: 63.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/2.951, allocations: 0.7549 MB / 2.999 GB, free: 62.57 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/2.951, allocations: 242.8 kB / 3 GB, free: 62.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/2.951, allocations: 36.67 kB / 3 GB, free: 62.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/2.951, allocations: 381.9 kB / 3 GB, free: 61.91 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 1.733e-06/2.951, allocations: 4 kB / 3 GB, free: 61.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001297/2.953, allocations: 0.6288 MB / 3.001 GB, free: 61.26 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/2.953, allocations: 248 kB / 3.001 GB, free: 60.96 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/2.953, allocations: 0.51 MB / 3.001 GB, free: 60.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/2.953, allocations: 25.7 kB / 3.002 GB, free: 60.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/2.953, allocations: 308 kB / 3.002 GB, free: 60.11 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/2.953, allocations: 232.5 kB / 3.002 GB, free: 59.88 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/2.953, allocations: 0 / 3.002 GB, free: 59.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/2.954, allocations: 378.7 kB / 3.002 GB, free: 59.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/2.954, allocations: 193.3 kB / 3.003 GB, free: 59.31 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/2.954, allocations: 316.9 kB / 3.003 GB, free: 58.96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/2.954, allocations: 251 kB / 3.003 GB, free: 58.72 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/2.954, allocations: 0 / 3.003 GB, free: 58.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001228/2.956, allocations: 0.6561 MB / 3.004 GB, free: 58.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/2.956, allocations: 8 kB / 3.004 GB, free: 58.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/2.956, allocations: 0 / 3.004 GB, free: 58.05 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/2.956, allocations: 88.88 kB / 3.004 GB, free: 57.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/2.957, allocations: 143.8 kB / 3.004 GB, free: 57.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/2.958, allocations: 1.457 MB / 3.005 GB, free: 56.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/2.959, allocations: 67.52 kB / 3.005 GB, free: 56.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/2.959, allocations: 35.91 kB / 3.005 GB, free: 56.13 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.0001167/2.959, allocations: 120.9 kB / 3.006 GB, free: 56.01 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/2.959, allocations: 71.06 kB / 3.006 GB, free: 55.94 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/2.961, allocations: 0.9136 MB / 3.007 GB, free: 55.01 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/2.961, allocations: 12 kB / 3.007 GB, free: 55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/2.961, allocations: 0 / 3.007 GB, free: 55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/2.961, allocations: 3.984 kB / 3.007 GB, free: 55 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/2.963, allocations: 1.759 MB / 3.008 GB, free: 53.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/2.963, allocations: 0 / 3.008 GB, free: 53.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/2.964, allocations: 147.8 kB / 3.008 GB, free: 53.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/2.964, allocations: 88.77 kB / 3.009 GB, free: 52.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/2.964, allocations: 15.98 kB / 3.009 GB, free: 52.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/2.966, allocations: 1.472 MB / 3.01 GB, free: 51.33 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/2.966, allocations: 0 / 3.01 GB, free: 51.33 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001217/2.967, allocations: 0.8245 MB / 3.011 GB, free: 50.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/2.967, allocations: 271.8 kB / 3.011 GB, free: 50.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/2.967, allocations: 0 / 3.011 GB, free: 50.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/2.968, allocations: 67.84 kB / 3.011 GB, free: 50.13 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/2.968, allocations: 48.7 kB / 3.011 GB, free: 50.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/2.968, allocations: 35.97 kB / 3.011 GB, free: 50.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003426/2.968, allocations: 406.9 kB / 3.012 GB, free: 49.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008687/2.969, allocations: 339 kB / 3.012 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.001315/2.971, allocations: 1.052 MB / 3.013 GB, free: 48.37 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009164/2.971, allocations: 0.6546 MB / 3.014 GB, free: 47.71 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/2.971, allocations: 0 / 3.014 GB, free: 47.71 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005408/2.972, allocations: 452.8 kB / 3.014 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.0009098/2.973, allocations: 227.1 kB / 3.014 GB, free: 47.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/2.976, allocations: 1.339 MB / 3.016 GB, free: 45.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/2.976, allocations: 1.131 MB / 3.017 GB, free: 44.52 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/2.976, allocations: 0 / 3.017 GB, free: 44.52 MB / 1.151 GB Notification: Performance of Templates: time 0.02218/2.999, allocations: 17.03 MB / 3.033 GB, free: 27.61 MB / 1.151 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