Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [: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.716/1.716, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0008806/0.0008806, allocations: 173.3 kB / 490.8 MB, free: 1.883 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.067/1.067, allocations: 221.3 MB / 0.7863 GB, free: 13.72 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.000829/0.000829, allocations: 94.88 kB / 0.9264 GB, free: 14.24 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.809e-06, allocations: 0 / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1658, allocations: 143 MB / 1.212 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.354/2.52, allocations: 1.731 GB / 2.942 GB, free: 85.41 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/2.52, allocations: 90.44 kB / 2.943 GB, free: 85.36 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1148/2.635, allocations: 59.71 MB / 3.001 GB, free: 29.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.918e-05/2.635, allocations: 20 kB / 3.001 GB, free: 29 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001558/2.636, allocations: 1.097 MB / 3.002 GB, free: 27.85 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/2.636, allocations: 8.031 kB / 3.002 GB, free: 27.84 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/2.637, allocations: 202.5 kB / 3.002 GB, free: 27.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/2.638, allocations: 0.6114 MB / 3.003 GB, free: 26.99 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/2.638, allocations: 28 kB / 3.003 GB, free: 26.96 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/2.638, allocations: 44 kB / 3.003 GB, free: 26.92 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001171/2.639, allocations: 0.9835 MB / 3.004 GB, free: 25.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/2.64, allocations: 0.7155 MB / 3.004 GB, free: 25.18 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/2.64, allocations: 7.938 kB / 3.004 GB, free: 25.17 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/2.64, allocations: 3.984 kB / 3.004 GB, free: 25.17 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/2.64, allocations: 23.91 kB / 3.004 GB, free: 25.14 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/2.643, allocations: 2.27 MB / 3.007 GB, free: 22.82 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/2.644, allocations: 0.7205 MB / 3.007 GB, free: 22.07 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/2.644, allocations: 246.8 kB / 3.008 GB, free: 21.83 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-05/2.644, allocations: 28.61 kB / 3.008 GB, free: 21.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/2.645, allocations: 374 kB / 3.008 GB, free: 21.41 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 2.054e-06/2.645, allocations: 0 / 3.008 GB, free: 21.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001309/2.646, allocations: 0.6365 MB / 3.009 GB, free: 20.77 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/2.646, allocations: 240 kB / 3.009 GB, free: 20.48 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/2.647, allocations: 0.4906 MB / 3.009 GB, free: 19.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/2.647, allocations: 29.7 kB / 3.009 GB, free: 19.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/2.647, allocations: 300.1 kB / 3.01 GB, free: 19.64 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/2.647, allocations: 232.5 kB / 3.01 GB, free: 19.41 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/2.647, allocations: 0 / 3.01 GB, free: 19.41 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/2.647, allocations: 374.8 kB / 3.01 GB, free: 19.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/2.647, allocations: 185.3 kB / 3.01 GB, free: 18.86 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/2.648, allocations: 286.4 kB / 3.011 GB, free: 18.55 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/2.648, allocations: 243 kB / 3.011 GB, free: 18.31 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/2.648, allocations: 0 / 3.011 GB, free: 18.31 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001191/2.649, allocations: 0.6404 MB / 3.012 GB, free: 17.66 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/2.649, allocations: 4 kB / 3.012 GB, free: 17.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/2.649, allocations: 4 kB / 3.012 GB, free: 17.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/2.65, allocations: 76.84 kB / 3.012 GB, free: 17.58 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/2.65, allocations: 143.8 kB / 3.012 GB, free: 17.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/2.652, allocations: 1.445 MB / 3.013 GB, free: 15.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/2.652, allocations: 63.61 kB / 3.013 GB, free: 15.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/2.652, allocations: 35.97 kB / 3.013 GB, free: 15.77 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 (74): * Single equations (assignments): 73 * 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.0001184/2.652, allocations: 116.8 kB / 3.013 GB, free: 15.65 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.321e-05/2.652, allocations: 71.16 kB / 3.013 GB, free: 15.58 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/2.654, allocations: 0.9361 MB / 3.014 GB, free: 14.62 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/2.654, allocations: 12 kB / 3.014 GB, free: 14.61 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/2.654, allocations: 0 / 3.014 GB, free: 14.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/2.654, allocations: 3.984 kB / 3.014 GB, free: 14.61 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/2.656, allocations: 1.678 MB / 3.016 GB, free: 12.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/2.656, allocations: 7.922 kB / 3.016 GB, free: 12.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/2.657, allocations: 147.8 kB / 3.016 GB, free: 12.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/2.657, allocations: 80.78 kB / 3.016 GB, free: 12.65 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/2.657, allocations: 19.89 kB / 3.016 GB, free: 12.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/2.659, allocations: 1.477 MB / 3.018 GB, free: 11.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.659, allocations: 7.938 kB / 3.018 GB, free: 11.03 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001199/2.66, allocations: 0.8245 MB / 3.019 GB, free: 10.18 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/2.66, allocations: 271.9 kB / 3.019 GB, free: 9.898 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/2.66, allocations: 0 / 3.019 GB, free: 9.898 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/2.661, allocations: 63.94 kB / 3.019 GB, free: 9.836 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/2.661, allocations: 44.7 kB / 3.019 GB, free: 9.793 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-05/2.661, allocations: 31.98 kB / 3.019 GB, free: 9.762 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003238/2.661, allocations: 406.9 kB / 3.019 GB, free: 9.367 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007699/2.662, allocations: 339 kB / 3.02 GB, free: 9.035 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 (86): * Single equations (assignments): 83 * 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.001355/2.663, allocations: 1.048 MB / 3.021 GB, free: 8.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008664/2.664, allocations: 0.6392 MB / 3.021 GB, free: 7.441 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/2.664, allocations: 0 / 3.021 GB, free: 7.441 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/2.665, allocations: 452.5 kB / 3.022 GB, free: 6.984 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008161/2.666, allocations: 203.5 kB / 3.022 GB, free: 6.793 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/2.669, allocations: 1.328 MB / 3.023 GB, free: 5.43 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/2.669, allocations: 1.132 MB / 3.024 GB, free: 4.266 MB / 1.151 GB Notification: Performance of SimCode: time 3.31e-07/2.669, allocations: 0 / 3.024 GB, free: 4.266 MB / 1.151 GB Notification: Performance of Templates: time 0.2842/2.953, allocations: 16.62 MB / 3.041 GB, free: 0.5112 GB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches