Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [: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.758/1.758, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.0009779/0.0009779, allocations: 184.7 kB / 487 MB, free: 5.414 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.113/1.113, allocations: 221.3 MB / 0.7819 GB, free: 1.414 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.0008243/0.0008242, allocations: 97.73 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.252e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1947, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.683/2.878, allocations: 1.73 GB / 2.935 GB, free: 99.32 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/2.878, allocations: 94.44 kB / 2.935 GB, free: 99.27 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1157/2.994, allocations: 59.09 MB / 2.993 GB, free: 44.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.95e-05/2.994, allocations: 23.94 kB / 2.993 GB, free: 44.28 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001379/2.995, allocations: 1.085 MB / 2.994 GB, free: 43.14 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/2.995, allocations: 8.031 kB / 2.994 GB, free: 43.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000801/2.996, allocations: 194.5 kB / 2.994 GB, free: 42.95 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/2.997, allocations: 0.6114 MB / 2.995 GB, free: 42.29 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/2.997, allocations: 24 kB / 2.995 GB, free: 42.27 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/2.997, allocations: 51.91 kB / 2.995 GB, free: 42.22 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001066/2.998, allocations: 0.9601 MB / 2.996 GB, free: 41.26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008454/2.999, allocations: 0.7076 MB / 2.996 GB, free: 40.51 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/2.999, allocations: 3.938 kB / 2.996 GB, free: 40.51 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/2.999, allocations: 0 / 2.996 GB, free: 40.51 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/2.999, allocations: 20 kB / 2.996 GB, free: 40.49 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/3.002, allocations: 2.227 MB / 2.999 GB, free: 38.21 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/3.002, allocations: 0.7102 MB / 2.999 GB, free: 37.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/3.003, allocations: 234.8 kB / 2.999 GB, free: 37.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.979e-05/3.003, allocations: 32.61 kB / 3 GB, free: 37.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003817/3.003, allocations: 366.1 kB / 3 GB, free: 36.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 1.553e-06/3.003, allocations: 0 / 3 GB, free: 36.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001226/3.004, allocations: 0.6208 MB / 3 GB, free: 36.19 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/3.004, allocations: 248 kB / 3.001 GB, free: 35.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/3.005, allocations: 0.4905 MB / 3.001 GB, free: 35.39 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/3.005, allocations: 25.7 kB / 3.001 GB, free: 35.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/3.005, allocations: 288.2 kB / 3.001 GB, free: 35.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/3.005, allocations: 224.6 kB / 3.002 GB, free: 34.85 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/3.005, allocations: 0 / 3.002 GB, free: 34.85 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/3.005, allocations: 374.8 kB / 3.002 GB, free: 34.48 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/3.005, allocations: 177.3 kB / 3.002 GB, free: 34.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/3.006, allocations: 282.4 kB / 3.002 GB, free: 34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/3.006, allocations: 235 kB / 3.003 GB, free: 33.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/3.006, allocations: 0 / 3.003 GB, free: 33.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001167/3.007, allocations: 0.6287 MB / 3.003 GB, free: 33.13 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/3.007, allocations: 4 kB / 3.003 GB, free: 33.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/3.007, allocations: 4 kB / 3.003 GB, free: 33.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/3.008, allocations: 80.78 kB / 3.003 GB, free: 33.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/3.008, allocations: 135.8 kB / 3.004 GB, free: 32.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/3.01, allocations: 1.457 MB / 3.005 GB, free: 31.33 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/3.01, allocations: 63.61 kB / 3.005 GB, free: 31.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/3.01, allocations: 23.98 kB / 3.005 GB, free: 31.24 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 (72): * Single equations (assignments): 71 * 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.0001124/3.01, allocations: 120.8 kB / 3.005 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/3.01, allocations: 75.16 kB / 3.005 GB, free: 31.04 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/3.012, allocations: 0.8852 MB / 3.006 GB, free: 30.14 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/3.012, allocations: 8 kB / 3.006 GB, free: 30.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/3.012, allocations: 4 kB / 3.006 GB, free: 30.13 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/3.012, allocations: 3.984 kB / 3.006 GB, free: 30.13 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/3.014, allocations: 1.636 MB / 3.008 GB, free: 28.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/3.014, allocations: 3.906 kB / 3.008 GB, free: 28.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/3.015, allocations: 143.8 kB / 3.008 GB, free: 28.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/3.015, allocations: 84.77 kB / 3.008 GB, free: 28.21 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/3.015, allocations: 15.98 kB / 3.008 GB, free: 28.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/3.017, allocations: 1.473 MB / 3.009 GB, free: 26.61 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/3.017, allocations: 0 / 3.009 GB, free: 26.61 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00116/3.018, allocations: 0.801 MB / 3.01 GB, free: 25.79 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/3.018, allocations: 264.1 kB / 3.01 GB, free: 25.51 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/3.018, allocations: 7.891 kB / 3.01 GB, free: 25.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/3.019, allocations: 59.89 kB / 3.01 GB, free: 25.44 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/3.019, allocations: 52.69 kB / 3.011 GB, free: 25.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/3.019, allocations: 31.98 kB / 3.011 GB, free: 25.36 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003108/3.019, allocations: 398.9 kB / 3.011 GB, free: 24.97 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007466/3.02, allocations: 323.1 kB / 3.011 GB, free: 24.66 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 (81): * Single equations (assignments): 78 * 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.001243/3.021, allocations: 1.049 MB / 3.012 GB, free: 23.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008461/3.022, allocations: 0.6232 MB / 3.013 GB, free: 23.08 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/3.022, allocations: 0 / 3.013 GB, free: 23.08 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005175/3.023, allocations: 432.8 kB / 3.013 GB, free: 22.65 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/3.023, allocations: 211.7 kB / 3.014 GB, free: 22.45 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/3.026, allocations: 1.307 MB / 3.015 GB, free: 21.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/3.027, allocations: 1.107 MB / 3.016 GB, free: 19.97 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/3.027, allocations: 0 / 3.016 GB, free: 19.97 MB / 1.151 GB Notification: Performance of Templates: time 0.01983/3.046, allocations: 16.38 MB / 3.032 GB, free: 3.723 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches