Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.748/1.748, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009008/0.0009008, allocations: 185.2 kB / 490.8 MB, free: 1.957 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.084/1.084, allocations: 221.3 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.0008052/0.0008052, allocations: 95.86 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.899e-06/4.919e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1715, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.329/2.5, allocations: 1.731 GB / 2.942 GB, free: 141.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/2.5, allocations: 87.95 kB / 2.942 GB, free: 141.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1212/2.622, allocations: 63.92 MB / 3.005 GB, free: 77.24 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.061e-05/2.622, allocations: 27.94 kB / 3.005 GB, free: 77.21 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001411/2.623, allocations: 1.089 MB / 3.006 GB, free: 76.07 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/2.623, allocations: 8.031 kB / 3.006 GB, free: 76.07 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007905/2.624, allocations: 194.6 kB / 3.006 GB, free: 75.88 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/2.625, allocations: 0.6114 MB / 3.007 GB, free: 75.22 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/2.625, allocations: 28 kB / 3.007 GB, free: 75.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/2.625, allocations: 44 kB / 3.007 GB, free: 75.15 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00113/2.626, allocations: 0.9757 MB / 3.008 GB, free: 74.17 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008841/2.627, allocations: 0.7194 MB / 3.008 GB, free: 73.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/2.627, allocations: 0 / 3.008 GB, free: 73.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/2.627, allocations: 3.938 kB / 3.008 GB, free: 73.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/2.627, allocations: 24 kB / 3.008 GB, free: 73.39 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/2.63, allocations: 2.278 MB / 3.011 GB, free: 71.05 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/2.63, allocations: 0.7278 MB / 3.011 GB, free: 70.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/2.631, allocations: 246.8 kB / 3.011 GB, free: 70.05 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.166e-05/2.631, allocations: 28.61 kB / 3.011 GB, free: 70.03 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/2.631, allocations: 374.1 kB / 3.012 GB, free: 69.64 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 1.783e-06/2.631, allocations: 0 / 3.012 GB, free: 69.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.00124/2.632, allocations: 0.6287 MB / 3.012 GB, free: 69 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/2.632, allocations: 244 kB / 3.013 GB, free: 68.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/2.633, allocations: 0.4943 MB / 3.013 GB, free: 68.21 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/2.633, allocations: 29.7 kB / 3.013 GB, free: 68.17 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/2.633, allocations: 288.2 kB / 3.013 GB, free: 67.88 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/2.633, allocations: 232.6 kB / 3.014 GB, free: 67.65 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/2.633, allocations: 0 / 3.014 GB, free: 67.65 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.253e-05/2.633, allocations: 370.8 kB / 3.014 GB, free: 67.28 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/2.634, allocations: 185.3 kB / 3.014 GB, free: 67.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/2.634, allocations: 286.4 kB / 3.015 GB, free: 66.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/2.634, allocations: 239 kB / 3.015 GB, free: 66.55 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/2.634, allocations: 0 / 3.015 GB, free: 66.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001172/2.635, allocations: 0.6404 MB / 3.015 GB, free: 65.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/2.635, allocations: 4 kB / 3.015 GB, free: 65.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/2.635, allocations: 0 / 3.015 GB, free: 65.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005505/2.636, allocations: 84.84 kB / 3.015 GB, free: 65.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/2.636, allocations: 135.8 kB / 3.016 GB, free: 65.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/2.638, allocations: 1.461 MB / 3.017 GB, free: 64.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/2.638, allocations: 63.61 kB / 3.017 GB, free: 64.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/2.638, allocations: 27.97 kB / 3.017 GB, free: 64.01 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.0001096/2.638, allocations: 120.8 kB / 3.017 GB, free: 63.88 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/2.638, allocations: 67.16 kB / 3.017 GB, free: 63.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/2.64, allocations: 0.897 MB / 3.018 GB, free: 62.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/2.64, allocations: 12 kB / 3.018 GB, free: 62.89 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/2.64, allocations: 0 / 3.018 GB, free: 62.89 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/2.64, allocations: 7.969 kB / 3.018 GB, free: 62.88 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/2.642, allocations: 1.686 MB / 3.02 GB, free: 61.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.642, allocations: 0 / 3.02 GB, free: 61.15 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000491/2.643, allocations: 135.9 kB / 3.02 GB, free: 61.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/2.643, allocations: 88.7 kB / 3.02 GB, free: 60.93 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/2.643, allocations: 15.98 kB / 3.02 GB, free: 60.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/2.645, allocations: 1.489 MB / 3.021 GB, free: 59.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/2.645, allocations: 0 / 3.021 GB, free: 59.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001147/2.646, allocations: 0.8049 MB / 3.022 GB, free: 58.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/2.646, allocations: 275.9 kB / 3.023 GB, free: 58.19 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/2.646, allocations: 7.906 kB / 3.023 GB, free: 58.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/2.647, allocations: 55.89 kB / 3.023 GB, free: 58.13 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/2.647, allocations: 52.7 kB / 3.023 GB, free: 58.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/2.647, allocations: 23.98 kB / 3.023 GB, free: 58.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003176/2.647, allocations: 410.9 kB / 3.023 GB, free: 57.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007335/2.648, allocations: 323.1 kB / 3.023 GB, free: 57.34 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.001259/2.649, allocations: 1.055 MB / 3.024 GB, free: 56.39 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008482/2.65, allocations: 0.6314 MB / 3.025 GB, free: 55.76 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/2.65, allocations: 0 / 3.025 GB, free: 55.76 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005204/2.651, allocations: 440.5 kB / 3.025 GB, free: 55.31 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/2.651, allocations: 207.6 kB / 3.026 GB, free: 55.11 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/2.654, allocations: 1.319 MB / 3.027 GB, free: 53.76 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/2.655, allocations: 1.116 MB / 3.028 GB, free: 52.62 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/2.655, allocations: 0 / 3.028 GB, free: 52.62 MB / 1.151 GB Notification: Performance of Templates: time 0.0197/2.674, allocations: 16.54 MB / 3.044 GB, free: 36.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches