Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.4/2.4, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001313/0.001313, allocations: 187.9 kB / 0.4902 GB, free: 2.227 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.766/1.766, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.001077/0.001077, allocations: 96.27 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 8.312 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3541, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.692/5.046, allocations: 1.732 GB / 2.961 GB, free: 196.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/5.046, allocations: 100.8 kB / 2.962 GB, free: 196.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1306/5.177, allocations: 60.44 MB / 3.021 GB, free: 145.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.767e-06/5.177, allocations: 4 kB / 3.021 GB, free: 145.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.175e-05/5.177, allocations: 24 kB / 3.021 GB, free: 145.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002284/5.18, allocations: 1.21 MB / 3.022 GB, free: 144.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/5.18, allocations: 8.562 kB / 3.022 GB, free: 144.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/5.18, allocations: 190.5 kB / 3.022 GB, free: 144.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009463/5.181, allocations: 0.621 MB / 3.023 GB, free: 143.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/5.181, allocations: 63.75 kB / 3.023 GB, free: 143.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/5.182, allocations: 81.19 kB / 3.023 GB, free: 143.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/5.183, allocations: 0.8909 MB / 3.024 GB, free: 142.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/5.183, allocations: 0 / 3.024 GB, free: 142.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/5.183, allocations: 44.81 kB / 3.024 GB, free: 142.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/5.183, allocations: 20 kB / 3.024 GB, free: 142.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/5.185, allocations: 1.103 MB / 3.025 GB, free: 141.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/5.188, allocations: 2.568 MB / 3.027 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/5.19, allocations: 0.8743 MB / 3.028 GB, free: 139.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/5.19, allocations: 36.11 kB / 3.028 GB, free: 139.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006721/5.191, allocations: 450.8 kB / 3.029 GB, free: 138.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 3.817e-06/5.191, allocations: 0 / 3.029 GB, free: 138.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002787/5.194, allocations: 1.139 MB / 3.03 GB, free: 137.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/5.194, allocations: 248 kB / 3.03 GB, free: 137.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007067/5.194, allocations: 0.5911 MB / 3.031 GB, free: 137.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/5.194, allocations: 43.58 kB / 3.031 GB, free: 137.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/5.195, allocations: 385.5 kB / 3.031 GB, free: 136.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/5.195, allocations: 244.8 kB / 3.031 GB, free: 136.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/5.195, allocations: 19.12 kB / 3.031 GB, free: 136.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001135/5.195, allocations: 380.1 kB / 3.032 GB, free: 136.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/5.195, allocations: 230.6 kB / 3.032 GB, free: 136.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/5.196, allocations: 338.8 kB / 3.032 GB, free: 135.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/5.196, allocations: 280.6 kB / 3.032 GB, free: 135.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/5.196, allocations: 3.953 kB / 3.032 GB, free: 135.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001586/5.198, allocations: 0.7561 MB / 3.033 GB, free: 135.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/5.198, allocations: 9.25 kB / 3.033 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/5.198, allocations: 4 kB / 3.033 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/5.199, allocations: 87.55 kB / 3.033 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/5.199, allocations: 142.3 kB / 3.033 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/5.201, allocations: 1.536 MB / 3.035 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/5.202, allocations: 85.88 kB / 3.035 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/5.202, allocations: 35.36 kB / 3.035 GB, free: 133.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0004102/5.202, allocations: 255.1 kB / 3.035 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/5.202, allocations: 75.06 kB / 3.035 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/5.204, allocations: 1.076 MB / 3.036 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/5.204, allocations: 19.94 kB / 3.036 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/5.204, allocations: 0 / 3.036 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/5.204, allocations: 3.984 kB / 3.036 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/5.207, allocations: 1.982 MB / 3.038 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/5.207, allocations: 0 / 3.038 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/5.208, allocations: 155.5 kB / 3.038 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/5.208, allocations: 83.2 kB / 3.038 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/5.208, allocations: 26.98 kB / 3.039 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/5.21, allocations: 1.564 MB / 3.04 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/5.21, allocations: 0 / 3.04 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/5.211, allocations: 0.9621 MB / 3.041 GB, free: 128.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/5.212, allocations: 293.3 kB / 3.041 GB, free: 127.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.715e-05/5.212, allocations: 23.25 kB / 3.041 GB, free: 127.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/5.212, allocations: 75.02 kB / 3.041 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/5.213, allocations: 68.16 kB / 3.041 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/5.213, allocations: 39.42 kB / 3.041 GB, free: 127.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005279/5.213, allocations: 489.6 kB / 3.042 GB, free: 127.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.213, allocations: 0 / 3.042 GB, free: 127.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001197/5.214, allocations: 371.5 kB / 3.042 GB, free: 127.1 MB / 1.167 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.001948/5.216, allocations: 1.083 MB / 3.043 GB, free: 126.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001383/5.218, allocations: 0.759 MB / 3.044 GB, free: 125.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/5.218, allocations: 0 / 3.044 GB, free: 125.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007158/5.218, allocations: 0.5111 MB / 3.045 GB, free: 125.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/5.219, allocations: 232.4 kB / 3.045 GB, free: 125 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/5.223, allocations: 2.156 MB / 3.047 GB, free: 123.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/5.223, allocations: 1.035 MB / 3.048 GB, free: 122 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008268/5.224, allocations: 270.3 kB / 3.048 GB, free: 121.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/5.225, allocations: 102.1 kB / 3.048 GB, free: 121.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.603e-06/5.225, allocations: 0 / 3.048 GB, free: 121.6 MB / 1.167 GB Notification: Performance of Templates: time 0.02821/5.253, allocations: 20.72 MB / 3.068 GB, free: 101.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches