Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.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.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") translateModel(Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bod1.heatPort.T|bod2.heatPort.T|bod1.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface") [: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.92/1.92, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.000998/0.0009981, allocations: 180.1 kB / 490.8 MB, free: 1.98 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.27/1.27, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.000961/0.0009609, allocations: 91.81 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.647e-06/8.867e-06, allocations: 0 / 1.072 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2502, allocations: 143 MB / 1.212 GB, free: 40.18 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7001/0.9503, allocations: 150.4 MB / 1.358 GB, free: 17.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.9507, allocations: 78.77 kB / 1.358 GB, free: 17.44 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.008405/0.9591, allocations: 2.488 MB / 1.361 GB, free: 17.23 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.9591, allocations: 2.125 kB / 1.361 GB, free: 17.23 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003934/0.9595, allocations: 368.4 kB / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.9596, allocations: 13.22 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.9596, allocations: 13.94 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.9599, allocations: 203.5 kB / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.9599, allocations: 2.25 kB / 1.361 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.96, allocations: 4.375 kB / 1.362 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/0.9601, allocations: 34.12 kB / 1.362 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.9602, allocations: 62.22 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.9602, allocations: 1.062 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.9602, allocations: 2.5 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.9602, allocations: 1.125 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.9608, allocations: 452.6 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.9612, allocations: 147.3 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.9612, allocations: 22.94 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.9612, allocations: 4.562 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.9613, allocations: 31.72 kB / 1.362 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.9613, allocations: 0 / 1.362 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0003101/0.9616, allocations: 81.47 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.9616, allocations: 52.2 kB / 1.362 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.9618, allocations: 139.6 kB / 1.362 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.9618, allocations: 27.02 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.9619, allocations: 107.4 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.9619, allocations: 14.39 kB / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.9619, allocations: 0 / 1.363 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.962, allocations: 319.2 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.9621, allocations: 10.19 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.9621, allocations: 32 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.9622, allocations: 14.72 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9622, allocations: 4.031 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001998/0.9624, allocations: 89.08 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.9624, allocations: 4.562 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9624, allocations: 2.109 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.9626, allocations: 25.69 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.9626, allocations: 6.125 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.9638, allocations: 1.257 MB / 1.364 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.9639, allocations: 8.031 kB / 1.364 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.9639, allocations: 1.125 kB / 1.364 GB, free: 30.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 4 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.643e-05/0.964, allocations: 107.5 kB / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.964, allocations: 7.375 kB / 1.364 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.964, allocations: 15.11 kB / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9641, allocations: 1.312 kB / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9641, allocations: 0 / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9641, allocations: 1.5 kB / 1.364 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.9644, allocations: 333.4 kB / 1.365 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9644, allocations: 1.031 kB / 1.365 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.9645, allocations: 2.688 kB / 1.365 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.477e-05/0.9646, allocations: 22.58 kB / 1.365 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.9646, allocations: 0 / 1.365 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009301/0.9655, allocations: 1.251 MB / 1.366 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.9655, allocations: 5.438 kB / 1.366 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002052/0.9657, allocations: 174 kB / 1.366 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.9658, allocations: 87.31 kB / 1.366 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.9658, allocations: 10.34 kB / 1.366 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.9659, allocations: 0 / 1.366 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.9659, allocations: 1.688 kB / 1.366 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.9659, allocations: 2.125 kB / 1.366 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.011e-05/0.966, allocations: 114.5 kB / 1.366 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002687/0.9663, allocations: 29.09 kB / 1.366 GB, free: 28.14 MB / 0.8386 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 (3): * Single equations (assignments): 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.672e-05/0.9664, allocations: 96.2 kB / 1.367 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.9667, allocations: 147.3 kB / 1.367 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9667, allocations: 0 / 1.367 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.9668, allocations: 118.6 kB / 1.367 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.9671, allocations: 26.52 kB / 1.367 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.9673, allocations: 105 kB / 1.367 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.9677, allocations: 0.7124 MB / 1.368 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.9677, allocations: 0 / 1.368 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.003734/0.9714, allocations: 1.279 MB / 1.369 GB, free: 26.95 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.sim & ./Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Radiosity_Examples_OpaqueSurface.csv","../files/Buildings_latest_Buildings.HeatTransfer.Radiosity.Examples.OpaqueSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches