Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [: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.736/1.736, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0008904/0.0008904, allocations: 177.2 kB / 490.8 MB, free: 1.953 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.76 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.000808/0.000808, allocations: 81.38 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.049e-06/5.069e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1672, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.336/2.503, allocations: 1.731 GB / 2.942 GB, free: 141.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/2.503, allocations: 94.94 kB / 2.942 GB, free: 141.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1104/2.614, allocations: 59.79 MB / 3.001 GB, free: 81.36 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.259e-05/2.614, allocations: 23.94 kB / 3.001 GB, free: 81.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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001321/2.615, allocations: 1.105 MB / 3.002 GB, free: 80.18 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/2.615, allocations: 16.03 kB / 3.002 GB, free: 80.16 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/2.616, allocations: 198.5 kB / 3.002 GB, free: 79.97 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/2.617, allocations: 0.6114 MB / 3.003 GB, free: 79.31 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/2.617, allocations: 31.94 kB / 3.003 GB, free: 79.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/2.617, allocations: 44 kB / 3.003 GB, free: 79.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001097/2.618, allocations: 0.9796 MB / 3.004 GB, free: 78.26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008695/2.619, allocations: 0.7194 MB / 3.004 GB, free: 77.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/2.619, allocations: 7.906 kB / 3.004 GB, free: 77.49 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/2.619, allocations: 7.922 kB / 3.004 GB, free: 77.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/2.619, allocations: 20 kB / 3.004 GB, free: 77.46 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/2.621, allocations: 2.263 MB / 3.007 GB, free: 75.15 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/2.622, allocations: 0.7205 MB / 3.007 GB, free: 74.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/2.622, allocations: 249.4 kB / 3.008 GB, free: 74.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-05/2.622, allocations: 32.67 kB / 3.008 GB, free: 74.12 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000386/2.623, allocations: 378 kB / 3.008 GB, free: 73.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.973e-06/2.623, allocations: 0 / 3.008 GB, free: 73.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001231/2.624, allocations: 0.6404 MB / 3.009 GB, free: 73.08 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/2.624, allocations: 244 kB / 3.009 GB, free: 72.79 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/2.625, allocations: 0.4984 MB / 3.009 GB, free: 72.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/2.625, allocations: 29.7 kB / 3.009 GB, free: 72.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/2.625, allocations: 300.1 kB / 3.01 GB, free: 71.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/2.625, allocations: 232.5 kB / 3.01 GB, free: 71.72 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/2.625, allocations: 0 / 3.01 GB, free: 71.72 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/2.625, allocations: 374.8 kB / 3.01 GB, free: 71.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/2.625, allocations: 181.3 kB / 3.01 GB, free: 71.17 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/2.625, allocations: 307.2 kB / 3.011 GB, free: 70.84 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/2.626, allocations: 235.1 kB / 3.011 GB, free: 70.61 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/2.626, allocations: 0 / 3.011 GB, free: 70.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001176/2.627, allocations: 0.6443 MB / 3.012 GB, free: 69.95 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/2.627, allocations: 4 kB / 3.012 GB, free: 69.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/2.627, allocations: 4 kB / 3.012 GB, free: 69.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/2.628, allocations: 84.86 kB / 3.012 GB, free: 69.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/2.628, allocations: 143.8 kB / 3.012 GB, free: 69.72 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/2.629, allocations: 1.457 MB / 3.013 GB, free: 68.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/2.63, allocations: 63.61 kB / 3.013 GB, free: 68.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/2.63, allocations: 27.98 kB / 3.013 GB, free: 68.05 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0001118/2.63, allocations: 116 kB / 3.013 GB, free: 67.93 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.661e-05/2.63, allocations: 83.05 kB / 3.014 GB, free: 67.85 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/2.632, allocations: 0.9246 MB / 3.014 GB, free: 66.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/2.632, allocations: 15.98 kB / 3.014 GB, free: 66.89 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/2.632, allocations: 0 / 3.014 GB, free: 66.89 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/2.632, allocations: 3.984 kB / 3.014 GB, free: 66.89 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/2.634, allocations: 1.693 MB / 3.016 GB, free: 65.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/2.634, allocations: 3.938 kB / 3.016 GB, free: 65.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/2.635, allocations: 151.8 kB / 3.016 GB, free: 64.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/2.635, allocations: 80.78 kB / 3.016 GB, free: 64.91 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/2.635, allocations: 15.98 kB / 3.016 GB, free: 64.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/2.636, allocations: 1.489 MB / 3.018 GB, free: 63.29 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/2.636, allocations: 0 / 3.018 GB, free: 63.29 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001165/2.638, allocations: 0.8205 MB / 3.019 GB, free: 62.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/2.638, allocations: 279.8 kB / 3.019 GB, free: 62.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/2.638, allocations: 4 kB / 3.019 GB, free: 62.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/2.638, allocations: 59.94 kB / 3.019 GB, free: 62.09 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/2.639, allocations: 52.7 kB / 3.019 GB, free: 62.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/2.639, allocations: 27.98 kB / 3.019 GB, free: 62.02 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003082/2.639, allocations: 406.9 kB / 3.019 GB, free: 61.62 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006877/2.64, allocations: 327.1 kB / 3.02 GB, free: 61.3 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 (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.001217/2.641, allocations: 1.047 MB / 3.021 GB, free: 60.36 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008604/2.642, allocations: 0.6429 MB / 3.021 GB, free: 59.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/2.642, allocations: 4.125 kB / 3.021 GB, free: 59.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005222/2.642, allocations: 452.5 kB / 3.022 GB, free: 59.24 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/2.643, allocations: 216 kB / 3.022 GB, free: 59.04 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/2.646, allocations: 1.339 MB / 3.023 GB, free: 57.66 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/2.646, allocations: 1.124 MB / 3.024 GB, free: 56.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/2.646, allocations: 0 / 3.024 GB, free: 56.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01935/2.666, allocations: 16.65 MB / 3.041 GB, free: 39.99 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches