Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [: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.724/1.724, 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.0009023/0.0009023, allocations: 183.8 kB / 490.8 MB, free: 1.969 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.086/1.086, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0007995/0.0007995, allocations: 91.77 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.629e-06/4.649e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1655, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.32/2.485, allocations: 1.732 GB / 2.944 GB, free: 135.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/2.485, allocations: 87.95 kB / 2.944 GB, free: 135.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1773/2.663, allocations: 94.76 MB / 3.037 GB, free: 40.38 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.619e-05/2.663, allocations: 35.94 kB / 3.037 GB, free: 40.34 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.001877/2.665, allocations: 1.438 MB / 3.038 GB, free: 38.85 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/2.665, allocations: 8.031 kB / 3.038 GB, free: 38.84 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008531/2.666, allocations: 257.8 kB / 3.038 GB, free: 38.59 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/2.667, allocations: 0.7715 MB / 3.039 GB, free: 37.77 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/2.667, allocations: 52 kB / 3.039 GB, free: 37.72 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/2.667, allocations: 83.91 kB / 3.039 GB, free: 37.64 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001696/2.668, allocations: 1.38 MB / 3.04 GB, free: 36.26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/2.67, allocations: 1.184 MB / 3.042 GB, free: 35.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/2.67, allocations: 0 / 3.042 GB, free: 35.02 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/2.67, allocations: 4 kB / 3.042 GB, free: 35.02 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/2.67, allocations: 35.98 kB / 3.042 GB, free: 34.98 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004511/2.675, allocations: 3.96 MB / 3.045 GB, free: 30.87 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/2.676, allocations: 0.8441 MB / 3.046 GB, free: 30.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/2.676, allocations: 359.7 kB / 3.047 GB, free: 29.67 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/2.676, allocations: 48.98 kB / 3.047 GB, free: 29.62 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005682/2.677, allocations: 0.5143 MB / 3.047 GB, free: 29.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 2.074e-06/2.677, allocations: 0 / 3.047 GB, free: 29.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.00167/2.678, allocations: 0.8897 MB / 3.048 GB, free: 28.19 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/2.678, allocations: 252.3 kB / 3.048 GB, free: 27.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/2.679, allocations: 0.5896 MB / 3.049 GB, free: 27.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/2.679, allocations: 25.7 kB / 3.049 GB, free: 27.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/2.679, allocations: 487.4 kB / 3.049 GB, free: 26.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/2.679, allocations: 334.9 kB / 3.05 GB, free: 26.45 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/2.679, allocations: 4 kB / 3.05 GB, free: 26.44 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/2.68, allocations: 386.8 kB / 3.05 GB, free: 26.05 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/2.68, allocations: 305.9 kB / 3.05 GB, free: 25.76 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/2.68, allocations: 413.5 kB / 3.051 GB, free: 25.32 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/2.681, allocations: 374.8 kB / 3.051 GB, free: 24.96 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/2.681, allocations: 4 kB / 3.051 GB, free: 24.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00165/2.683, allocations: 0.9561 MB / 3.052 GB, free: 23.99 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/2.683, allocations: 10.66 kB / 3.052 GB, free: 23.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/2.683, allocations: 7.922 kB / 3.052 GB, free: 23.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/2.683, allocations: 88.78 kB / 3.052 GB, free: 23.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/2.684, allocations: 211.7 kB / 3.052 GB, free: 23.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/2.685, allocations: 1.469 MB / 3.054 GB, free: 22.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/2.686, allocations: 75.25 kB / 3.054 GB, free: 22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/2.686, allocations: 44.03 kB / 3.054 GB, free: 21.96 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (116): * Single equations (assignments): 115 * 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.0001441/2.686, allocations: 127.8 kB / 3.054 GB, free: 21.83 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/2.686, allocations: 90.88 kB / 3.054 GB, free: 21.74 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/2.689, allocations: 1.307 MB / 3.055 GB, free: 20.42 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/2.689, allocations: 12 kB / 3.055 GB, free: 20.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/2.689, allocations: 0 / 3.055 GB, free: 20.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/2.689, allocations: 7.969 kB / 3.055 GB, free: 20.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/2.692, allocations: 2.358 MB / 3.058 GB, free: 17.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/2.692, allocations: 0 / 3.058 GB, free: 17.99 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007334/2.693, allocations: 191.8 kB / 3.058 GB, free: 17.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/2.693, allocations: 92.7 kB / 3.058 GB, free: 17.71 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/2.693, allocations: 19.97 kB / 3.058 GB, free: 17.69 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/2.695, allocations: 1.484 MB / 3.059 GB, free: 16.09 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.695, allocations: 3.938 kB / 3.059 GB, free: 16.09 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00151/2.696, allocations: 1.056 MB / 3.06 GB, free: 15.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/2.696, allocations: 351.4 kB / 3.061 GB, free: 14.64 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/2.697, allocations: 4 kB / 3.061 GB, free: 14.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/2.697, allocations: 63.84 kB / 3.061 GB, free: 14.58 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/2.697, allocations: 64.89 kB / 3.061 GB, free: 14.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/2.697, allocations: 35.98 kB / 3.061 GB, free: 14.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004229/2.698, allocations: 0.4991 MB / 3.061 GB, free: 13.98 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008699/2.699, allocations: 442.3 kB / 3.062 GB, free: 13.55 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 (115): * Single equations (assignments): 112 * 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.001249/2.7, allocations: 1.06 MB / 3.063 GB, free: 12.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001168/2.701, allocations: 0.9048 MB / 3.064 GB, free: 11.68 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/2.701, allocations: 0 / 3.064 GB, free: 11.68 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006627/2.702, allocations: 0.56 MB / 3.064 GB, free: 11.11 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/2.703, allocations: 214.3 kB / 3.065 GB, free: 10.91 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/2.706, allocations: 1.829 MB / 3.066 GB, free: 9.039 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008128/2.707, allocations: 1.333 MB / 3.068 GB, free: 7.684 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/2.707, allocations: 0 / 3.068 GB, free: 7.684 MB / 1.151 GB Notification: Performance of Templates: time 0.2872/2.994, allocations: 20.18 MB / 3.087 GB, free: 0.5072 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches