Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.719/1.719, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009028/0.0009028, allocations: 167.2 kB / 490.8 MB, free: 1.98 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.09/1.09, allocations: 221.4 MB / 0.7863 GB, free: 13.74 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.0008078/0.0008079, allocations: 104.3 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.861e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1645, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.342/2.506, allocations: 1.731 GB / 2.942 GB, free: 110.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002083/2.506, allocations: 89.41 kB / 2.942 GB, free: 110.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1092/2.616, allocations: 59.11 MB / 3 GB, free: 57.34 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.518e-05/2.616, allocations: 20 kB / 3 GB, free: 57.32 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.001304/2.617, allocations: 1.09 MB / 3.001 GB, free: 56.18 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/2.617, allocations: 8.031 kB / 3.001 GB, free: 56.17 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/2.618, allocations: 194.6 kB / 3.001 GB, free: 55.98 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/2.618, allocations: 0.6076 MB / 3.002 GB, free: 55.33 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/2.618, allocations: 24 kB / 3.002 GB, free: 55.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/2.618, allocations: 44 kB / 3.002 GB, free: 55.26 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001046/2.62, allocations: 0.9639 MB / 3.003 GB, free: 54.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/2.62, allocations: 0.7037 MB / 3.004 GB, free: 53.55 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/2.62, allocations: 4 kB / 3.004 GB, free: 53.55 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/2.62, allocations: 0 / 3.004 GB, free: 53.55 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/2.62, allocations: 20 kB / 3.004 GB, free: 53.53 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/2.623, allocations: 2.224 MB / 3.006 GB, free: 51.25 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/2.624, allocations: 0.709 MB / 3.006 GB, free: 50.51 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/2.624, allocations: 230.8 kB / 3.007 GB, free: 50.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/2.624, allocations: 28.69 kB / 3.007 GB, free: 50.25 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/2.624, allocations: 374 kB / 3.007 GB, free: 49.87 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 1.633e-06/2.624, allocations: 0 / 3.007 GB, free: 49.87 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001203/2.626, allocations: 0.6171 MB / 3.008 GB, free: 49.24 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/2.626, allocations: 243.9 kB / 3.008 GB, free: 48.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/2.626, allocations: 0.4905 MB / 3.008 GB, free: 48.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/2.626, allocations: 25.7 kB / 3.008 GB, free: 48.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/2.626, allocations: 292.1 kB / 3.009 GB, free: 48.13 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/2.626, allocations: 228.5 kB / 3.009 GB, free: 47.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/2.626, allocations: 0 / 3.009 GB, free: 47.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.408e-05/2.627, allocations: 378.8 kB / 3.009 GB, free: 47.52 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/2.627, allocations: 177.3 kB / 3.009 GB, free: 47.35 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/2.627, allocations: 286.4 kB / 3.01 GB, free: 47.04 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/2.627, allocations: 231.1 kB / 3.01 GB, free: 46.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/2.627, allocations: 0 / 3.01 GB, free: 46.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001147/2.628, allocations: 0.6248 MB / 3.01 GB, free: 46.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/2.629, allocations: 4 kB / 3.01 GB, free: 46.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/2.629, allocations: 0 / 3.01 GB, free: 46.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005483/2.629, allocations: 88.83 kB / 3.011 GB, free: 46.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/2.63, allocations: 135.8 kB / 3.011 GB, free: 45.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/2.631, allocations: 1.454 MB / 3.012 GB, free: 44.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/2.631, allocations: 63.55 kB / 3.012 GB, free: 44.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/2.631, allocations: 27.98 kB / 3.012 GB, free: 44.29 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.0001085/2.632, allocations: 128.8 kB / 3.012 GB, free: 44.16 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/2.632, allocations: 71.16 kB / 3.012 GB, free: 44.09 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/2.633, allocations: 0.8737 MB / 3.013 GB, free: 43.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/2.633, allocations: 8 kB / 3.013 GB, free: 43.19 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/2.633, allocations: 0 / 3.013 GB, free: 43.19 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/2.633, allocations: 7.984 kB / 3.013 GB, free: 43.18 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/2.635, allocations: 1.643 MB / 3.015 GB, free: 41.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.635, allocations: 4 kB / 3.015 GB, free: 41.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004821/2.636, allocations: 139.8 kB / 3.015 GB, free: 41.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/2.636, allocations: 84.69 kB / 3.015 GB, free: 41.27 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.561e-05/2.636, allocations: 15.98 kB / 3.015 GB, free: 41.25 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/2.638, allocations: 1.476 MB / 3.017 GB, free: 39.66 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.638, allocations: 0 / 3.017 GB, free: 39.66 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001125/2.639, allocations: 0.7971 MB / 3.017 GB, free: 38.84 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/2.639, allocations: 272 kB / 3.018 GB, free: 38.55 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/2.639, allocations: 4 kB / 3.018 GB, free: 38.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/2.64, allocations: 51.95 kB / 3.018 GB, free: 38.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/2.64, allocations: 60.53 kB / 3.018 GB, free: 38.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/2.64, allocations: 32.05 kB / 3.018 GB, free: 38.41 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002973/2.64, allocations: 398.9 kB / 3.018 GB, free: 38.02 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007168/2.641, allocations: 323.1 kB / 3.018 GB, free: 37.71 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.001172/2.642, allocations: 1.041 MB / 3.019 GB, free: 36.76 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008175/2.643, allocations: 0.6195 MB / 3.02 GB, free: 36.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.643, allocations: 12.11 kB / 3.02 GB, free: 36.12 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004986/2.643, allocations: 428.5 kB / 3.02 GB, free: 35.69 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/2.644, allocations: 214.9 kB / 3.021 GB, free: 35.49 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/2.647, allocations: 1.306 MB / 3.022 GB, free: 34.14 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/2.647, allocations: 1.111 MB / 3.023 GB, free: 33.01 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/2.647, allocations: 0 / 3.023 GB, free: 33.01 MB / 1.151 GB Notification: Performance of Templates: time 0.01923/2.666, allocations: 16.38 MB / 3.039 GB, free: 16.77 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches