Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.778/1.778, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001095/0.001095, allocations: 181.2 kB / 487 MB, free: 5.41 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.168/1.168, allocations: 221.3 MB / 0.7819 GB, free: 1.48 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.0008349/0.0008349, allocations: 105.4 kB / 0.9213 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.521e-06/5.561e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.657/2.858, allocations: 1.73 GB / 2.935 GB, free: 99.81 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/2.858, allocations: 84.06 kB / 2.935 GB, free: 99.77 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.123/2.981, allocations: 63.92 MB / 2.998 GB, free: 40.32 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.594e-05/2.981, allocations: 27.94 kB / 2.998 GB, free: 40.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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001403/2.983, allocations: 1.094 MB / 2.999 GB, free: 39.15 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/2.983, allocations: 12.97 kB / 2.999 GB, free: 39.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/2.984, allocations: 186.6 kB / 2.999 GB, free: 38.95 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/2.984, allocations: 0.6153 MB / 2.999 GB, free: 38.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/2.984, allocations: 32 kB / 2.999 GB, free: 38.27 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/2.984, allocations: 47.98 kB / 2.999 GB, free: 38.22 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001168/2.986, allocations: 0.9718 MB / 3 GB, free: 37.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/2.987, allocations: 0.7193 MB / 3.001 GB, free: 36.49 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/2.987, allocations: 3.984 kB / 3.001 GB, free: 36.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/2.987, allocations: 4 kB / 3.001 GB, free: 36.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/2.987, allocations: 16 kB / 3.001 GB, free: 36.46 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003096/2.99, allocations: 2.285 MB / 3.003 GB, free: 34.12 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/2.991, allocations: 0.724 MB / 3.004 GB, free: 33.37 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/2.991, allocations: 238.8 kB / 3.004 GB, free: 33.13 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/2.991, allocations: 32.69 kB / 3.004 GB, free: 33.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/2.991, allocations: 366.1 kB / 3.005 GB, free: 32.72 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/2.991, allocations: 0 / 3.005 GB, free: 32.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001404/2.993, allocations: 0.6287 MB / 3.005 GB, free: 32.08 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/2.993, allocations: 244 kB / 3.006 GB, free: 31.79 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/2.994, allocations: 0.4982 MB / 3.006 GB, free: 31.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/2.994, allocations: 25.7 kB / 3.006 GB, free: 31.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/2.994, allocations: 292.2 kB / 3.006 GB, free: 30.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/2.994, allocations: 224.6 kB / 3.007 GB, free: 30.74 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/2.994, allocations: 0 / 3.007 GB, free: 30.74 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/2.994, allocations: 370.8 kB / 3.007 GB, free: 30.37 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/2.994, allocations: 189.3 kB / 3.007 GB, free: 30.18 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/2.995, allocations: 290.4 kB / 3.007 GB, free: 29.87 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/2.995, allocations: 231 kB / 3.008 GB, free: 29.64 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/2.995, allocations: 0 / 3.008 GB, free: 29.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001204/2.996, allocations: 0.6404 MB / 3.008 GB, free: 29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/2.996, allocations: 7.938 kB / 3.008 GB, free: 28.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/2.996, allocations: 4 kB / 3.008 GB, free: 28.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/2.997, allocations: 80.84 kB / 3.008 GB, free: 28.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/2.997, allocations: 139.8 kB / 3.008 GB, free: 28.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/2.999, allocations: 1.461 MB / 3.01 GB, free: 27.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/2.999, allocations: 67.59 kB / 3.01 GB, free: 27.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/2.999, allocations: 31.89 kB / 3.01 GB, free: 27.08 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.0001201/2.999, allocations: 116.9 kB / 3.01 GB, free: 26.96 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/3, allocations: 71.16 kB / 3.01 GB, free: 26.89 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/3.001, allocations: 0.897 MB / 3.011 GB, free: 25.98 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/3.001, allocations: 11.94 kB / 3.011 GB, free: 25.96 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/3.001, allocations: 0 / 3.011 GB, free: 25.96 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/3.001, allocations: 3.984 kB / 3.011 GB, free: 25.96 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/3.003, allocations: 1.683 MB / 3.013 GB, free: 24.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/3.003, allocations: 0 / 3.013 GB, free: 24.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/3.004, allocations: 135.8 kB / 3.013 GB, free: 24.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/3.004, allocations: 88.77 kB / 3.013 GB, free: 24.01 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/3.005, allocations: 15.98 kB / 3.013 GB, free: 23.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/3.006, allocations: 1.488 MB / 3.014 GB, free: 22.39 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/3.006, allocations: 3.969 kB / 3.014 GB, free: 22.38 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001171/3.007, allocations: 0.8089 MB / 3.015 GB, free: 21.55 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/3.007, allocations: 271.9 kB / 3.015 GB, free: 21.27 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/3.007, allocations: 0 / 3.015 GB, free: 21.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/3.008, allocations: 59.95 kB / 3.015 GB, free: 21.21 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/3.008, allocations: 52.69 kB / 3.016 GB, free: 21.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/3.008, allocations: 27.98 kB / 3.016 GB, free: 21.13 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003387/3.008, allocations: 402.9 kB / 3.016 GB, free: 20.74 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008397/3.009, allocations: 323.1 kB / 3.016 GB, free: 20.42 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.00125/3.011, allocations: 1.056 MB / 3.017 GB, free: 19.47 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008898/3.011, allocations: 0.6313 MB / 3.018 GB, free: 18.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/3.011, allocations: 4 kB / 3.018 GB, free: 18.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/3.012, allocations: 440.5 kB / 3.018 GB, free: 18.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/3.013, allocations: 212.5 kB / 3.019 GB, free: 18.19 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/3.016, allocations: 1.311 MB / 3.02 GB, free: 16.84 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/3.016, allocations: 1.115 MB / 3.021 GB, free: 15.7 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/3.016, allocations: 0 / 3.021 GB, free: 15.7 MB / 1.151 GB Notification: Performance of Templates: time 0.305/3.321, allocations: 16.54 MB / 3.037 GB, free: 0.5173 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches