Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.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.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sur.heatPort.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity") translateModel(Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sur.heatPort.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity") [: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.945/1.945, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001075/0.001076, allocations: 177.3 kB / 487 MB, free: 5.395 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.246/1.246, allocations: 221.3 MB / 0.7819 GB, free: 1.461 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.001006/0.001006, allocations: 101.1 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.677e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2501, allocations: 142.3 MB / 1.205 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7432/0.9933, allocations: 150.2 MB / 1.352 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.9936, allocations: 76.8 kB / 1.352 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.007095/1.001, allocations: 1.897 MB / 1.354 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.207e-06/1.001, allocations: 2.031 kB / 1.354 GB, free: 15.8 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004696/1.001, allocations: 390.4 kB / 1.354 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.001, allocations: 13.75 kB / 1.354 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/1.001, allocations: 14 kB / 1.354 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/1.002, allocations: 202.7 kB / 1.354 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.002, allocations: 2.312 kB / 1.354 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/1.002, allocations: 2.781 kB / 1.354 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001189/1.002, allocations: 31.33 kB / 1.354 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/1.002, allocations: 60.42 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.002, allocations: 0 / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.002, allocations: 0.8125 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.002, allocations: 0.9062 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/1.003, allocations: 327.8 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/1.003, allocations: 74.56 kB / 1.355 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/1.003, allocations: 21.45 kB / 1.355 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/1.003, allocations: 0 / 1.355 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/1.003, allocations: 40.5 kB / 1.355 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/1.003, allocations: 0 / 1.355 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0002005/1.003, allocations: 65.36 kB / 1.355 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/1.003, allocations: 52.98 kB / 1.355 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/1.003, allocations: 131.6 kB / 1.355 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/1.003, allocations: 25.7 kB / 1.355 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/1.003, allocations: 98.12 kB / 1.355 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/1.003, allocations: 24.64 kB / 1.355 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/1.003, allocations: 0 / 1.355 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/1.004, allocations: 318.8 kB / 1.356 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/1.004, allocations: 14.62 kB / 1.356 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/1.004, allocations: 29.39 kB / 1.356 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/1.004, allocations: 20.53 kB / 1.356 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.004, allocations: 3.938 kB / 1.356 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001282/1.004, allocations: 76.83 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.004, allocations: 4.812 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/1.004, allocations: 0.7812 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.004, allocations: 1.5 kB / 1.356 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/1.004, allocations: 34.36 kB / 1.356 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007411/1.005, allocations: 1.237 MB / 1.357 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/1.005, allocations: 16.02 kB / 1.357 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/1.005, allocations: 1.953 kB / 1.357 GB, free: 12.86 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/1.005, allocations: 109.6 kB / 1.357 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/1.005, allocations: 8.969 kB / 1.357 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/1.005, allocations: 15.77 kB / 1.357 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/1.005, allocations: 4.797 kB / 1.357 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/1.005, allocations: 0.5625 kB / 1.357 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.005, allocations: 6.094 kB / 1.357 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/1.005, allocations: 171.1 kB / 1.357 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.005, allocations: 0 / 1.357 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.006, allocations: 28.92 kB / 1.357 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.006, allocations: 1.031 kB / 1.357 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/1.006, allocations: 4 kB / 1.357 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005176/1.006, allocations: 1.228 MB / 1.359 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.006, allocations: 0 / 1.359 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001379/1.006, allocations: 170.6 kB / 1.359 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/1.006, allocations: 88.94 kB / 1.359 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/1.006, allocations: 0.7031 kB / 1.359 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.006, allocations: 13.77 kB / 1.359 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/1.006, allocations: 3.891 kB / 1.359 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.006, allocations: 5.531 kB / 1.359 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.22e-05/1.007, allocations: 104.7 kB / 1.359 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002532/1.007, allocations: 22.41 kB / 1.359 GB, free: 10.98 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000102/1.007, allocations: 105.1 kB / 1.359 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001898/1.007, allocations: 38.17 kB / 1.359 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.007, allocations: 1.125 kB / 1.359 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.227e-05/1.007, allocations: 25.27 kB / 1.359 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/1.007, allocations: 26.75 kB / 1.359 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/1.008, allocations: 123.5 kB / 1.359 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/1.008, allocations: 0.7195 MB / 1.36 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/1.008, allocations: 0 / 1.36 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of Templates: time 0.004468/1.013, allocations: 1.463 MB / 1.361 GB, free: 9.988 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.sim & ./Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Radiosity_Examples_OutdoorRadiosity.csv","../files/Buildings_9_Buildings.HeatTransfer.Radiosity.Examples.OutdoorRadiosity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches