Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [: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.739/1.739, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0008851/0.0008852, allocations: 179.9 kB / 490.8 MB, free: 1.93 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.07/1.07, 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.0008083/0.0008083, allocations: 102.4 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.22e-06/5.259e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1659, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.357/2.523, allocations: 1.732 GB / 2.943 GB, free: 110.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/2.523, allocations: 96.5 kB / 2.943 GB, free: 110.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1144/2.637, allocations: 60.63 MB / 3.002 GB, free: 55.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.476e-05/2.637, allocations: 20 kB / 3.002 GB, free: 55.5 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001425/2.639, allocations: 1.137 MB / 3.004 GB, free: 54.31 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/2.639, allocations: 12.03 kB / 3.004 GB, free: 54.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000771/2.64, allocations: 198.5 kB / 3.004 GB, free: 54.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/2.64, allocations: 0.6231 MB / 3.004 GB, free: 53.44 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/2.64, allocations: 28 kB / 3.004 GB, free: 53.41 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-05/2.64, allocations: 44 kB / 3.004 GB, free: 53.37 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/2.642, allocations: 1.015 MB / 3.005 GB, free: 52.35 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/2.642, allocations: 0.7506 MB / 3.006 GB, free: 51.56 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/2.643, allocations: 0 / 3.006 GB, free: 51.56 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/2.643, allocations: 4 kB / 3.006 GB, free: 51.56 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/2.643, allocations: 20 kB / 3.006 GB, free: 51.54 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/2.646, allocations: 2.411 MB / 3.009 GB, free: 49.07 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/2.647, allocations: 0.7969 MB / 3.009 GB, free: 48.24 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/2.647, allocations: 254.8 kB / 3.01 GB, free: 47.99 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.039e-05/2.647, allocations: 32.59 kB / 3.01 GB, free: 47.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/2.648, allocations: 393.9 kB / 3.01 GB, free: 47.55 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 1.583e-06/2.648, allocations: 4 kB / 3.01 GB, free: 47.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001317/2.649, allocations: 0.6561 MB / 3.011 GB, free: 46.88 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/2.649, allocations: 240 kB / 3.011 GB, free: 46.59 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/2.65, allocations: 0.51 MB / 3.011 GB, free: 46.08 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/2.65, allocations: 25.7 kB / 3.011 GB, free: 46.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/2.65, allocations: 304.2 kB / 3.012 GB, free: 45.74 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/2.65, allocations: 236.4 kB / 3.012 GB, free: 45.51 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/2.65, allocations: 0 / 3.012 GB, free: 45.51 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/2.65, allocations: 378.7 kB / 3.012 GB, free: 45.13 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/2.65, allocations: 197.3 kB / 3.012 GB, free: 44.94 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/2.65, allocations: 310.3 kB / 3.013 GB, free: 44.61 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/2.651, allocations: 243.1 kB / 3.013 GB, free: 44.37 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/2.651, allocations: 0 / 3.013 GB, free: 44.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001254/2.652, allocations: 0.6756 MB / 3.014 GB, free: 43.68 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/2.652, allocations: 8 kB / 3.014 GB, free: 43.68 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/2.652, allocations: 7.922 kB / 3.014 GB, free: 43.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/2.653, allocations: 80.84 kB / 3.014 GB, free: 43.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/2.653, allocations: 147.8 kB / 3.014 GB, free: 43.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/2.655, allocations: 1.453 MB / 3.015 GB, free: 41.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/2.655, allocations: 71.59 kB / 3.015 GB, free: 41.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/2.655, allocations: 31.97 kB / 3.015 GB, free: 41.76 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: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * 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.0001182/2.655, allocations: 123.8 kB / 3.015 GB, free: 41.64 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-05/2.655, allocations: 75.16 kB / 3.016 GB, free: 41.56 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/2.657, allocations: 0.9876 MB / 3.016 GB, free: 40.56 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/2.657, allocations: 8 kB / 3.016 GB, free: 40.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/2.657, allocations: 3.938 kB / 3.016 GB, free: 40.55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/2.657, allocations: 7.984 kB / 3.017 GB, free: 40.54 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/2.66, allocations: 1.756 MB / 3.018 GB, free: 38.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/2.66, allocations: 0 / 3.018 GB, free: 38.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005511/2.66, allocations: 159.8 kB / 3.018 GB, free: 38.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/2.661, allocations: 88.7 kB / 3.018 GB, free: 38.49 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/2.661, allocations: 15.98 kB / 3.018 GB, free: 38.47 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/2.662, allocations: 1.481 MB / 3.02 GB, free: 36.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/2.662, allocations: 0 / 3.02 GB, free: 36.87 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001248/2.663, allocations: 0.8596 MB / 3.021 GB, free: 35.99 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/2.663, allocations: 283.8 kB / 3.021 GB, free: 35.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/2.664, allocations: 7.906 kB / 3.021 GB, free: 35.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005483/2.664, allocations: 55.95 kB / 3.021 GB, free: 35.63 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/2.664, allocations: 52.69 kB / 3.021 GB, free: 35.58 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/2.664, allocations: 39.97 kB / 3.021 GB, free: 35.54 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003196/2.665, allocations: 406.9 kB / 3.022 GB, free: 35.15 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007326/2.665, allocations: 347 kB / 3.022 GB, free: 34.81 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 (93): * Single equations (assignments): 90 * 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.001266/2.667, allocations: 1.063 MB / 3.023 GB, free: 33.85 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008993/2.668, allocations: 0.6743 MB / 3.024 GB, free: 33.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/2.668, allocations: 0 / 3.024 GB, free: 33.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/2.668, allocations: 468.4 kB / 3.024 GB, free: 32.69 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/2.669, allocations: 213.4 kB / 3.024 GB, free: 32.49 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/2.672, allocations: 1.371 MB / 3.026 GB, free: 31.09 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000584/2.672, allocations: 1.16 MB / 3.027 GB, free: 29.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.81e-07/2.672, allocations: 0 / 3.027 GB, free: 29.9 MB / 1.151 GB Notification: Performance of Templates: time 0.02048/2.693, allocations: 17.16 MB / 3.043 GB, free: 12.87 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches