Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.75/1.75, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001334/0.001334, allocations: 177.2 kB / 487 MB, free: 5.305 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.167/1.167, allocations: 221.3 MB / 0.7819 GB, free: 1.281 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.000939/0.0009391, allocations: 101.3 kB / 0.9213 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.372e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.697/2.906, allocations: 1.731 GB / 2.936 GB, free: 97.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/2.906, allocations: 95.06 kB / 2.936 GB, free: 97.65 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1185/3.025, allocations: 60.62 MB / 2.995 GB, free: 41.11 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.72e-05/3.025, allocations: 20 kB / 2.995 GB, free: 41.09 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.00163/3.026, allocations: 1.133 MB / 2.996 GB, free: 39.91 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/3.026, allocations: 8.031 kB / 2.996 GB, free: 39.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/3.027, allocations: 202.5 kB / 2.997 GB, free: 39.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/3.028, allocations: 0.627 MB / 2.997 GB, free: 39.04 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/3.028, allocations: 32 kB / 2.997 GB, free: 39 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/3.028, allocations: 44 kB / 2.997 GB, free: 38.96 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/3.029, allocations: 1.011 MB / 2.998 GB, free: 37.95 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/3.03, allocations: 0.7505 MB / 2.999 GB, free: 37.16 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/3.03, allocations: 0 / 2.999 GB, free: 37.16 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/3.03, allocations: 3.906 kB / 2.999 GB, free: 37.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/3.03, allocations: 20 kB / 2.999 GB, free: 37.14 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/3.033, allocations: 2.418 MB / 3.001 GB, free: 34.66 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/3.035, allocations: 0.7924 MB / 3.002 GB, free: 33.83 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/3.035, allocations: 250.8 kB / 3.002 GB, free: 33.59 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-05/3.035, allocations: 32.59 kB / 3.002 GB, free: 33.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/3.035, allocations: 397.9 kB / 3.003 GB, free: 33.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 1.743e-06/3.035, allocations: 3.938 kB / 3.003 GB, free: 33.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001361/3.037, allocations: 0.66 MB / 3.003 GB, free: 32.47 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/3.037, allocations: 240 kB / 3.004 GB, free: 32.18 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/3.037, allocations: 0.5061 MB / 3.004 GB, free: 31.67 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/3.037, allocations: 29.7 kB / 3.004 GB, free: 31.63 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/3.038, allocations: 300.2 kB / 3.004 GB, free: 31.33 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/3.038, allocations: 240.4 kB / 3.005 GB, free: 31.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/3.038, allocations: 0 / 3.005 GB, free: 31.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/3.038, allocations: 382.7 kB / 3.005 GB, free: 30.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/3.038, allocations: 193.3 kB / 3.005 GB, free: 30.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/3.038, allocations: 306.3 kB / 3.006 GB, free: 30.19 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/3.039, allocations: 251.1 kB / 3.006 GB, free: 29.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/3.039, allocations: 0 / 3.006 GB, free: 29.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001305/3.04, allocations: 0.6717 MB / 3.006 GB, free: 29.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/3.04, allocations: 7.125 kB / 3.006 GB, free: 29.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/3.04, allocations: 4 kB / 3.006 GB, free: 29.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/3.041, allocations: 80.84 kB / 3.007 GB, free: 29.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/3.041, allocations: 155.8 kB / 3.007 GB, free: 29.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/3.043, allocations: 1.453 MB / 3.008 GB, free: 27.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/3.043, allocations: 75.5 kB / 3.008 GB, free: 27.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/3.043, allocations: 27.98 kB / 3.008 GB, free: 27.35 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.000128/3.043, allocations: 116.9 kB / 3.008 GB, free: 27.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/3.044, allocations: 71.16 kB / 3.008 GB, free: 27.16 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/3.045, allocations: 0.9837 MB / 3.009 GB, free: 26.16 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/3.046, allocations: 12 kB / 3.009 GB, free: 26.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/3.046, allocations: 0 / 3.009 GB, free: 26.14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/3.046, allocations: 3.984 kB / 3.009 GB, free: 26.14 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/3.048, allocations: 1.757 MB / 3.011 GB, free: 24.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/3.048, allocations: 4 kB / 3.011 GB, free: 24.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000567/3.048, allocations: 155.8 kB / 3.011 GB, free: 24.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/3.049, allocations: 84.78 kB / 3.011 GB, free: 24.09 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/3.049, allocations: 27.83 kB / 3.011 GB, free: 24.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/3.05, allocations: 1.481 MB / 3.013 GB, free: 22.46 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/3.05, allocations: 0 / 3.013 GB, free: 22.46 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001316/3.052, allocations: 0.8635 MB / 3.014 GB, free: 21.58 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/3.052, allocations: 287.7 kB / 3.014 GB, free: 21.28 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/3.052, allocations: 0 / 3.014 GB, free: 21.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/3.053, allocations: 59.94 kB / 3.014 GB, free: 21.22 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/3.053, allocations: 56.69 kB / 3.014 GB, free: 21.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/3.053, allocations: 27.98 kB / 3.014 GB, free: 21.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003534/3.053, allocations: 414.9 kB / 3.014 GB, free: 20.73 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008779/3.054, allocations: 347 kB / 3.015 GB, free: 20.39 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.001302/3.055, allocations: 1.044 MB / 3.016 GB, free: 19.45 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009509/3.056, allocations: 0.6781 MB / 3.016 GB, free: 18.77 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/3.056, allocations: 4 kB / 3.016 GB, free: 18.76 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005577/3.057, allocations: 468.5 kB / 3.017 GB, free: 18.29 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008554/3.058, allocations: 217 kB / 3.017 GB, free: 18.09 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/3.061, allocations: 1.373 MB / 3.018 GB, free: 16.69 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/3.061, allocations: 1.143 MB / 3.02 GB, free: 15.52 MB / 1.151 GB Notification: Performance of SimCode: time 3.7e-07/3.062, allocations: 0 / 3.02 GB, free: 15.52 MB / 1.151 GB Notification: Performance of Templates: time 0.3812/3.443, allocations: 17.18 MB / 3.036 GB, free: 344.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches