Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.4 MB / 256.7 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 189.2 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008713/0.0008713, allocations: 100.6 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.983e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.191/5.387, allocations: 2.191 GB / 3.076 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/5.387, allocations: 96.86 kB / 3.076 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1264/5.514, allocations: 58.71 MB / 3.133 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.096e-05/5.514, allocations: 20 kB / 3.133 GB, free: 150.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001909/5.516, allocations: 1.086 MB / 3.134 GB, free: 149 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/5.516, allocations: 8.031 kB / 3.134 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009606/5.517, allocations: 202.5 kB / 3.134 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/5.518, allocations: 0.6075 MB / 3.135 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/5.518, allocations: 27.98 kB / 3.135 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.189e-05/5.518, allocations: 44 kB / 3.135 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/5.519, allocations: 1.003 MB / 3.136 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/5.52, allocations: 0.731 MB / 3.137 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/5.52, allocations: 0 / 3.137 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/5.52, allocations: 4 kB / 3.137 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/5.52, allocations: 27.91 kB / 3.137 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/5.524, allocations: 2.361 MB / 3.139 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/5.525, allocations: 0.6624 MB / 3.14 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/5.525, allocations: 250.8 kB / 3.14 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-05/5.525, allocations: 32.59 kB / 3.14 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005186/5.526, allocations: 386.1 kB / 3.14 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 2.344e-06/5.526, allocations: 0 / 3.14 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.00168/5.528, allocations: 0.6638 MB / 3.141 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/5.528, allocations: 248 kB / 3.141 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/5.528, allocations: 0.5022 MB / 3.142 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/5.528, allocations: 29.7 kB / 3.142 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/5.529, allocations: 296.2 kB / 3.142 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/5.529, allocations: 240.4 kB / 3.142 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/5.529, allocations: 0 / 3.142 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001179/5.529, allocations: 374.8 kB / 3.143 GB, free: 140 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/5.529, allocations: 201.3 kB / 3.143 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/5.53, allocations: 302.4 kB / 3.143 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/5.53, allocations: 251 kB / 3.143 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.53, allocations: 0 / 3.143 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001547/5.532, allocations: 0.6756 MB / 3.144 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/5.532, allocations: 4 kB / 3.144 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/5.532, allocations: 4 kB / 3.144 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/5.532, allocations: 80.84 kB / 3.144 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/5.533, allocations: 155.7 kB / 3.144 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/5.535, allocations: 1.468 MB / 3.146 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/5.536, allocations: 63.61 kB / 3.146 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.355e-05/5.536, allocations: 27.98 kB / 3.146 GB, free: 136.6 MB / 0.8698 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 (80): * Single equations (assignments): 79 * 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.0002252/5.536, allocations: 124.8 kB / 3.146 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/5.536, allocations: 71.16 kB / 3.146 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/5.539, allocations: 0.9525 MB / 3.147 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/5.539, allocations: 8 kB / 3.147 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/5.539, allocations: 3.938 kB / 3.147 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/5.539, allocations: 7.984 kB / 3.147 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002675/5.541, allocations: 1.713 MB / 3.149 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/5.541, allocations: 0 / 3.149 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/5.542, allocations: 159.8 kB / 3.149 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/5.543, allocations: 80.78 kB / 3.149 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/5.543, allocations: 15.98 kB / 3.149 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/5.544, allocations: 1.476 MB / 3.15 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/5.544, allocations: 4 kB / 3.15 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0016/5.546, allocations: 0.8323 MB / 3.151 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/5.546, allocations: 275.8 kB / 3.151 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/5.547, allocations: 12.06 kB / 3.151 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/5.547, allocations: 51.95 kB / 3.151 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/5.547, allocations: 56.69 kB / 3.152 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/5.547, allocations: 27.98 kB / 3.152 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005722/5.548, allocations: 422.8 kB / 3.152 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001331/5.549, allocations: 307 kB / 3.152 GB, free: 129.8 MB / 0.8698 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 (87): * Single equations (assignments): 84 * 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.002006/5.551, allocations: 1.011 MB / 3.153 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001362/5.553, allocations: 0.6702 MB / 3.154 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/5.553, allocations: 4 kB / 3.154 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006277/5.553, allocations: 452.6 kB / 3.154 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/5.554, allocations: 208.1 kB / 3.155 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/5.558, allocations: 1.355 MB / 3.156 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/5.559, allocations: 1.136 MB / 3.157 GB, free: 125 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/5.559, allocations: 0 / 3.157 GB, free: 125 MB / 0.8698 GB Notification: Performance of Templates: time 0.02424/5.583, allocations: 16.64 MB / 3.173 GB, free: 108.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches