Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.505/2.505, allocations: 390.5 MB / 398 MB, free: 10.97 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.001224/0.001224, allocations: 176.1 kB / 491.2 MB, free: 1.605 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.829/1.829, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009972/0.0009972, allocations: 99.83 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.365e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3603, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.333/5.693, allocations: 1.732 GB / 2.945 GB, free: 132.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/5.694, allocations: 99.94 kB / 2.945 GB, free: 132.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1473/5.841, allocations: 68.84 MB / 3.012 GB, free: 62.99 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.413e-06/5.841, allocations: 0 / 3.012 GB, free: 62.99 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.237e-05/5.841, allocations: 20 kB / 3.012 GB, free: 62.97 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002107/5.843, allocations: 1.158 MB / 3.013 GB, free: 61.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/5.843, allocations: 8.031 kB / 3.013 GB, free: 61.75 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009663/5.844, allocations: 202.4 kB / 3.013 GB, free: 61.55 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/5.845, allocations: 0.6502 MB / 3.014 GB, free: 60.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/5.845, allocations: 28 kB / 3.014 GB, free: 60.83 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/5.846, allocations: 56 kB / 3.014 GB, free: 60.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001375/5.847, allocations: 1.062 MB / 3.015 GB, free: 59.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/5.848, allocations: 0.813 MB / 3.016 GB, free: 58.86 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/5.848, allocations: 11.95 kB / 3.016 GB, free: 58.85 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/5.848, allocations: 0 / 3.016 GB, free: 58.85 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/5.848, allocations: 27.94 kB / 3.016 GB, free: 58.82 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/5.852, allocations: 2.598 MB / 3.019 GB, free: 56.16 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/5.853, allocations: 0.7045 MB / 3.019 GB, free: 55.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/5.853, allocations: 263.2 kB / 3.02 GB, free: 55.19 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.167e-05/5.853, allocations: 36.72 kB / 3.02 GB, free: 55.15 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/5.854, allocations: 415.8 kB / 3.02 GB, free: 54.73 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 2.435e-06/5.854, allocations: 0 / 3.02 GB, free: 54.73 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.003067/5.857, allocations: 0.8787 MB / 3.021 GB, free: 53.84 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/5.857, allocations: 252.1 kB / 3.021 GB, free: 53.54 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/5.858, allocations: 0.514 MB / 3.022 GB, free: 53.02 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.383e-05/5.858, allocations: 29.7 kB / 3.022 GB, free: 52.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/5.858, allocations: 416.1 kB / 3.022 GB, free: 52.57 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/5.858, allocations: 260.1 kB / 3.022 GB, free: 52.31 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/5.858, allocations: 0 / 3.022 GB, free: 52.31 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/5.858, allocations: 378.7 kB / 3.023 GB, free: 51.93 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/5.859, allocations: 209.5 kB / 3.023 GB, free: 51.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/5.859, allocations: 315.5 kB / 3.023 GB, free: 51.39 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/5.861, allocations: 452.1 kB / 3.024 GB, free: 50.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/5.861, allocations: 4 kB / 3.024 GB, free: 50.94 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002923/5.864, allocations: 0.8866 MB / 3.024 GB, free: 50.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/5.864, allocations: 4 kB / 3.024 GB, free: 50.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/5.864, allocations: 3.938 kB / 3.024 GB, free: 50.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/5.864, allocations: 84.83 kB / 3.024 GB, free: 49.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/5.865, allocations: 155.8 kB / 3.025 GB, free: 49.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/5.867, allocations: 1.454 MB / 3.026 GB, free: 48.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/5.867, allocations: 63.34 kB / 3.026 GB, free: 48.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/5.867, allocations: 39.91 kB / 3.026 GB, free: 48.12 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 (84): * Single equations (assignments): 83 * 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.0001826/5.867, allocations: 126 kB / 3.026 GB, free: 47.99 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/5.868, allocations: 75.06 kB / 3.026 GB, free: 47.91 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/5.871, allocations: 1.177 MB / 3.027 GB, free: 46.73 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/5.871, allocations: 11.95 kB / 3.027 GB, free: 46.71 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/5.871, allocations: 4 kB / 3.027 GB, free: 46.71 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/5.871, allocations: 3.984 kB / 3.027 GB, free: 46.71 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004146/5.875, allocations: 2.007 MB / 3.029 GB, free: 44.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/5.875, allocations: 0 / 3.029 GB, free: 44.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/5.876, allocations: 163.8 kB / 3.03 GB, free: 44.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/5.876, allocations: 84.77 kB / 3.03 GB, free: 44.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/5.877, allocations: 15.98 kB / 3.03 GB, free: 44.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/5.878, allocations: 1.481 MB / 3.031 GB, free: 42.79 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/5.878, allocations: 4.047 kB / 3.031 GB, free: 42.78 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/5.881, allocations: 1.068 MB / 3.032 GB, free: 41.69 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/5.881, allocations: 291.7 kB / 3.032 GB, free: 41.39 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/5.881, allocations: 0 / 3.032 GB, free: 41.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/5.882, allocations: 51.95 kB / 3.033 GB, free: 41.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/5.882, allocations: 68.67 kB / 3.033 GB, free: 41.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/5.882, allocations: 35.94 kB / 3.033 GB, free: 41.23 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005059/5.883, allocations: 439.1 kB / 3.033 GB, free: 40.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.883, allocations: 0 / 3.033 GB, free: 40.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001259/5.884, allocations: 366.8 kB / 3.033 GB, free: 40.45 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 (94): * Single equations (assignments): 91 * 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.002211/5.886, allocations: 1.105 MB / 3.034 GB, free: 39.45 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001319/5.888, allocations: 0.6943 MB / 3.035 GB, free: 38.74 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/5.888, allocations: 4 kB / 3.035 GB, free: 38.73 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007065/5.888, allocations: 480.4 kB / 3.036 GB, free: 38.26 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/5.89, allocations: 220.3 kB / 3.036 GB, free: 38.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/5.893, allocations: 1.395 MB / 3.037 GB, free: 36.62 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/5.894, allocations: 1.058 MB / 3.038 GB, free: 35.53 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009553/5.894, allocations: 262.2 kB / 3.038 GB, free: 35.27 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/5.895, allocations: 99.39 kB / 3.039 GB, free: 35.17 MB / 1.151 GB Notification: Performance of SimCode: time 1.413e-06/5.895, allocations: 0 / 3.039 GB, free: 35.17 MB / 1.151 GB Notification: Performance of Templates: time 0.02768/5.923, allocations: 16.45 MB / 3.055 GB, free: 18.87 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches