Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001014/0.001014, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.539/1.539, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009877/0.0009876, allocations: 101.8 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.395e-05/4.397e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4196, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.346/5.766, allocations: 1.731 GB / 2.943 GB, free: 134.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/5.766, allocations: 95.88 kB / 2.943 GB, free: 134.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1252/5.891, allocations: 59.31 MB / 3.001 GB, free: 75.02 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.765e-06/5.891, allocations: 0 / 3.001 GB, free: 75.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.051e-05/5.891, allocations: 24 kB / 3.001 GB, free: 75 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001947/5.893, allocations: 1.079 MB / 3.002 GB, free: 73.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/5.893, allocations: 8.031 kB / 3.002 GB, free: 73.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008371/5.894, allocations: 182.5 kB / 3.002 GB, free: 73.68 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008766/5.895, allocations: 0.6115 MB / 3.003 GB, free: 73.03 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/5.895, allocations: 58 kB / 3.003 GB, free: 72.97 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/5.895, allocations: 80 kB / 3.003 GB, free: 72.89 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/5.896, allocations: 0.8405 MB / 3.004 GB, free: 72.01 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/5.897, allocations: 0 / 3.004 GB, free: 72.01 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.693e-05/5.897, allocations: 36 kB / 3.004 GB, free: 71.98 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/5.897, allocations: 23.95 kB / 3.004 GB, free: 71.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/5.898, allocations: 1.026 MB / 3.005 GB, free: 70.93 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/5.901, allocations: 2.418 MB / 3.007 GB, free: 68.44 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/5.902, allocations: 0.767 MB / 3.008 GB, free: 67.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/5.903, allocations: 269.6 kB / 3.008 GB, free: 67.38 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-05/5.903, allocations: 40.78 kB / 3.008 GB, free: 67.34 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005808/5.903, allocations: 409.3 kB / 3.009 GB, free: 66.92 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.624e-06/5.903, allocations: 0 / 3.009 GB, free: 66.92 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001474/5.905, allocations: 0.6876 MB / 3.009 GB, free: 66.22 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/5.905, allocations: 240.1 kB / 3.01 GB, free: 65.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/5.905, allocations: 0.5776 MB / 3.01 GB, free: 65.34 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/5.906, allocations: 41.7 kB / 3.01 GB, free: 65.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/5.906, allocations: 368.4 kB / 3.011 GB, free: 64.93 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/5.906, allocations: 248.4 kB / 3.011 GB, free: 64.68 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/5.906, allocations: 8 kB / 3.011 GB, free: 64.68 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000119/5.906, allocations: 390.8 kB / 3.011 GB, free: 64.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/5.906, allocations: 193.5 kB / 3.011 GB, free: 64.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/5.907, allocations: 313.9 kB / 3.012 GB, free: 63.76 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/5.907, allocations: 250 kB / 3.012 GB, free: 63.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/5.907, allocations: 0 / 3.012 GB, free: 63.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001287/5.908, allocations: 0.6914 MB / 3.013 GB, free: 62.81 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/5.908, allocations: 5.094 kB / 3.013 GB, free: 62.81 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/5.908, allocations: 4 kB / 3.013 GB, free: 62.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/5.909, allocations: 80.88 kB / 3.013 GB, free: 62.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/5.91, allocations: 139.8 kB / 3.013 GB, free: 62.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/5.911, allocations: 1.517 MB / 3.014 GB, free: 60.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005435/5.912, allocations: 83.33 kB / 3.014 GB, free: 60.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/5.912, allocations: 27.98 kB / 3.014 GB, free: 60.82 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.000164/5.912, allocations: 148.9 kB / 3.015 GB, free: 60.66 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/5.912, allocations: 75.25 kB / 3.015 GB, free: 60.59 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/5.914, allocations: 0.973 MB / 3.016 GB, free: 59.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/5.914, allocations: 8 kB / 3.016 GB, free: 59.59 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/5.914, allocations: 0 / 3.016 GB, free: 59.59 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/5.914, allocations: 7.938 kB / 3.016 GB, free: 59.58 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/5.917, allocations: 1.87 MB / 3.017 GB, free: 57.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/5.917, allocations: 7.875 kB / 3.017 GB, free: 57.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/5.917, allocations: 143.8 kB / 3.018 GB, free: 57.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00048/5.918, allocations: 88.77 kB / 3.018 GB, free: 57.41 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/5.918, allocations: 23.98 kB / 3.018 GB, free: 57.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/5.919, allocations: 1.536 MB / 3.019 GB, free: 55.72 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/5.919, allocations: 3.984 kB / 3.019 GB, free: 55.71 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/5.921, allocations: 0.8805 MB / 3.02 GB, free: 54.81 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/5.921, allocations: 279.8 kB / 3.02 GB, free: 54.52 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/5.921, allocations: 16 kB / 3.02 GB, free: 54.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/5.922, allocations: 67.95 kB / 3.02 GB, free: 54.44 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/5.922, allocations: 56.69 kB / 3.02 GB, free: 54.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/5.922, allocations: 40 kB / 3.02 GB, free: 54.34 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005469/5.923, allocations: 475.1 kB / 3.021 GB, free: 53.88 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.923, allocations: 0 / 3.021 GB, free: 53.88 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0012/5.924, allocations: 367.1 kB / 3.021 GB, free: 53.52 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 (87): * Single equations (assignments): 84 * 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.001837/5.926, allocations: 1.012 MB / 3.022 GB, free: 52.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001188/5.927, allocations: 0.6828 MB / 3.023 GB, free: 51.96 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/5.927, allocations: 7.875 kB / 3.023 GB, free: 51.96 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006242/5.928, allocations: 479 kB / 3.023 GB, free: 51.48 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/5.929, allocations: 237.2 kB / 3.024 GB, free: 51.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/5.932, allocations: 1.332 MB / 3.025 GB, free: 49.89 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/5.932, allocations: 1.028 MB / 3.026 GB, free: 48.84 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007957/5.933, allocations: 254 kB / 3.026 GB, free: 48.59 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/5.933, allocations: 99.38 kB / 3.026 GB, free: 48.49 MB / 1.151 GB Notification: Performance of SimCode: time 1.333e-06/5.933, allocations: 0 / 3.026 GB, free: 48.49 MB / 1.151 GB Notification: Performance of Templates: time 0.03073/5.964, allocations: 21.92 MB / 3.048 GB, free: 26.68 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches