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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001078/0.001078, allocations: 180.3 kB / 492.3 MB, free: 0.6055 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.429/1.429, allocations: 221.3 MB / 0.7872 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.0008252/0.0008252, allocations: 95.19 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.367e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2417, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/4.92, allocations: 1.73 GB / 2.943 GB, free: 108.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/4.92, allocations: 83.83 kB / 2.943 GB, free: 108.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1374/5.057, allocations: 63.45 MB / 3.005 GB, free: 50.46 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.078e-06/5.057, allocations: 0 / 3.005 GB, free: 50.46 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001637/5.058, allocations: 20 kB / 3.005 GB, free: 50.44 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.003292/5.061, allocations: 1.051 MB / 3.006 GB, free: 49.34 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/5.061, allocations: 12.03 kB / 3.006 GB, free: 49.33 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/5.062, allocations: 190.5 kB / 3.006 GB, free: 49.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/5.064, allocations: 0.6075 MB / 3.007 GB, free: 48.49 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/5.064, allocations: 58 kB / 3.007 GB, free: 48.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/5.064, allocations: 72 kB / 3.007 GB, free: 48.36 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/5.066, allocations: 0.821 MB / 3.008 GB, free: 47.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/5.066, allocations: 0 / 3.008 GB, free: 47.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/5.066, allocations: 32 kB / 3.008 GB, free: 47.47 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/5.066, allocations: 23.95 kB / 3.008 GB, free: 47.45 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/5.068, allocations: 1.023 MB / 3.009 GB, free: 46.42 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004276/5.072, allocations: 2.422 MB / 3.011 GB, free: 43.93 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/5.073, allocations: 0.7746 MB / 3.012 GB, free: 43.13 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/5.074, allocations: 262.4 kB / 3.012 GB, free: 42.87 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.423e-05/5.074, allocations: 24.59 kB / 3.012 GB, free: 42.85 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005819/5.074, allocations: 410.8 kB / 3.013 GB, free: 42.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 4.068e-06/5.074, allocations: 96 / 3.013 GB, free: 42.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001605/5.076, allocations: 0.6707 MB / 3.013 GB, free: 41.75 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/5.076, allocations: 239.9 kB / 3.013 GB, free: 41.46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/5.077, allocations: 0.5931 MB / 3.014 GB, free: 40.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/5.077, allocations: 37.7 kB / 3.014 GB, free: 40.81 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/5.077, allocations: 364.4 kB / 3.014 GB, free: 40.45 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/5.078, allocations: 232.6 kB / 3.015 GB, free: 40.22 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/5.078, allocations: 12 kB / 3.015 GB, free: 40.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001196/5.078, allocations: 374.8 kB / 3.015 GB, free: 39.83 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/5.078, allocations: 197.5 kB / 3.015 GB, free: 39.64 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/5.078, allocations: 309.1 kB / 3.015 GB, free: 39.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/5.079, allocations: 242 kB / 3.016 GB, free: 39.07 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/5.079, allocations: 0 / 3.016 GB, free: 39.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001379/5.08, allocations: 0.6797 MB / 3.016 GB, free: 38.38 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/5.08, allocations: 4 kB / 3.016 GB, free: 38.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/5.08, allocations: 3.984 kB / 3.016 GB, free: 38.37 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/5.081, allocations: 84.84 kB / 3.016 GB, free: 38.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/5.081, allocations: 131.8 kB / 3.017 GB, free: 38.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/5.083, allocations: 1.524 MB / 3.018 GB, free: 36.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006163/5.084, allocations: 87.44 kB / 3.018 GB, free: 36.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/5.084, allocations: 23.98 kB / 3.018 GB, free: 36.38 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.0001769/5.084, allocations: 149.8 kB / 3.018 GB, free: 36.22 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/5.084, allocations: 75.06 kB / 3.018 GB, free: 36.15 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/5.086, allocations: 0.934 MB / 3.019 GB, free: 35.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/5.086, allocations: 8 kB / 3.019 GB, free: 35.19 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/5.086, allocations: 0 / 3.019 GB, free: 35.19 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/5.086, allocations: 3.984 kB / 3.019 GB, free: 35.18 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/5.089, allocations: 1.855 MB / 3.021 GB, free: 33.27 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/5.089, allocations: 3.938 kB / 3.021 GB, free: 33.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/5.09, allocations: 139.8 kB / 3.021 GB, free: 33.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/5.09, allocations: 84.81 kB / 3.021 GB, free: 33.04 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/5.091, allocations: 23.98 kB / 3.021 GB, free: 33.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/5.092, allocations: 1.56 MB / 3.023 GB, free: 31.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/5.092, allocations: 0 / 3.023 GB, free: 31.32 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/5.094, allocations: 0.8533 MB / 3.024 GB, free: 30.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/5.095, allocations: 283.8 kB / 3.024 GB, free: 30.15 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/5.095, allocations: 19.94 kB / 3.024 GB, free: 30.13 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/5.095, allocations: 63.94 kB / 3.024 GB, free: 30.07 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/5.096, allocations: 56.7 kB / 3.024 GB, free: 30.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/5.096, allocations: 27.98 kB / 3.024 GB, free: 29.99 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007023/5.096, allocations: 479.1 kB / 3.025 GB, free: 29.53 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.096, allocations: 0 / 3.025 GB, free: 29.53 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001665/5.098, allocations: 355.1 kB / 3.025 GB, free: 29.18 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.002934/5.101, allocations: 1.04 MB / 3.026 GB, free: 28.29 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001482/5.103, allocations: 0.6706 MB / 3.027 GB, free: 27.61 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/5.103, allocations: 0 / 3.027 GB, free: 27.61 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007581/5.103, allocations: 463.1 kB / 3.027 GB, free: 27.14 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/5.105, allocations: 232.9 kB / 3.027 GB, free: 26.92 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/5.109, allocations: 1.312 MB / 3.029 GB, free: 25.58 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/5.11, allocations: 1.016 MB / 3.03 GB, free: 24.54 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009692/5.111, allocations: 249.9 kB / 3.03 GB, free: 24.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/5.111, allocations: 91.39 kB / 3.03 GB, free: 24.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.794e-06/5.111, allocations: 0 / 3.03 GB, free: 24.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03397/5.145, allocations: 21.83 MB / 3.051 GB, free: 2.473 MB / 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