Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.815/1.815, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001052/0.001052, allocations: 181.2 kB / 487 MB, free: 5.363 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.184/1.184, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 94.05 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.65e-06/5.74e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1856, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.528/2.714, allocations: 1.73 GB / 2.935 GB, free: 128.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/2.714, allocations: 91.94 kB / 2.935 GB, free: 128.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1169/2.831, allocations: 59.81 MB / 2.994 GB, free: 68.61 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.655e-05/2.831, allocations: 20 kB / 2.994 GB, free: 68.59 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.001501/2.832, allocations: 1.113 MB / 2.995 GB, free: 67.43 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/2.832, allocations: 8.031 kB / 2.995 GB, free: 67.42 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007945/2.833, allocations: 194.6 kB / 2.995 GB, free: 67.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007513/2.834, allocations: 0.6114 MB / 2.996 GB, free: 66.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/2.834, allocations: 28 kB / 2.996 GB, free: 66.55 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/2.834, allocations: 44 kB / 2.996 GB, free: 66.51 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001115/2.835, allocations: 0.9874 MB / 2.997 GB, free: 65.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/2.836, allocations: 0.727 MB / 2.997 GB, free: 64.75 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/2.836, allocations: 4 kB / 2.997 GB, free: 64.75 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/2.836, allocations: 0 / 2.997 GB, free: 64.75 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/2.836, allocations: 20 kB / 2.997 GB, free: 64.73 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/2.839, allocations: 2.278 MB / 3 GB, free: 62.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008/2.84, allocations: 0.7167 MB / 3 GB, free: 61.65 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/2.84, allocations: 250.8 kB / 3.001 GB, free: 61.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.491e-05/2.84, allocations: 28.62 kB / 3.001 GB, free: 61.37 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004014/2.841, allocations: 378 kB / 3.001 GB, free: 60.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 1.933e-06/2.841, allocations: 0 / 3.001 GB, free: 60.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001285/2.842, allocations: 0.6364 MB / 3.002 GB, free: 60.34 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/2.842, allocations: 244 kB / 3.002 GB, free: 60.04 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004611/2.842, allocations: 0.4945 MB / 3.002 GB, free: 59.54 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/2.842, allocations: 33.69 kB / 3.002 GB, free: 59.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/2.843, allocations: 296.1 kB / 3.003 GB, free: 59.21 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/2.843, allocations: 228.5 kB / 3.003 GB, free: 58.98 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/2.843, allocations: 0 / 3.003 GB, free: 58.98 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/2.843, allocations: 374.8 kB / 3.003 GB, free: 58.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/2.843, allocations: 193.3 kB / 3.003 GB, free: 58.42 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/2.843, allocations: 291.3 kB / 3.004 GB, free: 58.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/2.844, allocations: 247 kB / 3.004 GB, free: 57.86 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/2.844, allocations: 0 / 3.004 GB, free: 57.86 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0012/2.845, allocations: 0.6482 MB / 3.004 GB, free: 57.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/2.845, allocations: 8 kB / 3.004 GB, free: 57.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/2.845, allocations: 0 / 3.004 GB, free: 57.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/2.845, allocations: 80.88 kB / 3.005 GB, free: 57.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/2.846, allocations: 147.7 kB / 3.005 GB, free: 56.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/2.847, allocations: 1.457 MB / 3.006 GB, free: 55.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/2.848, allocations: 59.55 kB / 3.006 GB, free: 55.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/2.848, allocations: 31.97 kB / 3.006 GB, free: 55.3 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.0001205/2.848, allocations: 116.9 kB / 3.006 GB, free: 55.18 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/2.848, allocations: 75.06 kB / 3.006 GB, free: 55.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/2.85, allocations: 0.9285 MB / 3.007 GB, free: 54.16 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/2.85, allocations: 12 kB / 3.007 GB, free: 54.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/2.85, allocations: 0 / 3.007 GB, free: 54.14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/2.85, allocations: 3.984 kB / 3.007 GB, free: 54.14 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/2.852, allocations: 1.694 MB / 3.009 GB, free: 52.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/2.852, allocations: 0 / 3.009 GB, free: 52.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/2.853, allocations: 147.8 kB / 3.009 GB, free: 52.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/2.853, allocations: 84.78 kB / 3.009 GB, free: 52.17 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/2.853, allocations: 11.98 kB / 3.009 GB, free: 52.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/2.855, allocations: 1.493 MB / 3.011 GB, free: 50.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.855, allocations: 0 / 3.011 GB, free: 50.55 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001221/2.856, allocations: 0.8245 MB / 3.011 GB, free: 49.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/2.856, allocations: 275.8 kB / 3.012 GB, free: 49.41 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/2.856, allocations: 7.938 kB / 3.012 GB, free: 49.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/2.857, allocations: 55.89 kB / 3.012 GB, free: 49.35 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/2.857, allocations: 56.69 kB / 3.012 GB, free: 49.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/2.857, allocations: 27.98 kB / 3.012 GB, free: 49.27 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003449/2.857, allocations: 406.9 kB / 3.012 GB, free: 48.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008779/2.858, allocations: 327.1 kB / 3.013 GB, free: 48.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 (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.001281/2.86, allocations: 1.048 MB / 3.014 GB, free: 47.61 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009116/2.861, allocations: 0.6507 MB / 3.014 GB, free: 46.95 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/2.861, allocations: 4 kB / 3.014 GB, free: 46.95 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005399/2.861, allocations: 444.6 kB / 3.015 GB, free: 46.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/2.862, allocations: 209.9 kB / 3.015 GB, free: 46.31 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/2.865, allocations: 1.339 MB / 3.016 GB, free: 44.93 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/2.865, allocations: 1.131 MB / 3.017 GB, free: 43.77 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/2.865, allocations: 0 / 3.017 GB, free: 43.77 MB / 1.151 GB Notification: Performance of Templates: time 0.02077/2.886, allocations: 16.65 MB / 3.034 GB, free: 27.25 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches