Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, 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.001603/0.001604, allocations: 191.8 kB / 0.4902 GB, free: 2.238 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.703/1.703, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.001215/0.001215, allocations: 97.77 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.000465, allocations: 14.34 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3497, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.602/4.952, allocations: 1.731 GB / 2.961 GB, free: 255.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003845/4.952, allocations: 101.1 kB / 2.961 GB, free: 255 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1275/5.08, allocations: 58.9 MB / 3.018 GB, free: 195.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.726e-06/5.08, allocations: 3.938 kB / 3.018 GB, free: 195.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001219/5.08, allocations: 27.94 kB / 3.018 GB, free: 195.9 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002816/5.083, allocations: 1.163 MB / 3.019 GB, free: 194.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/5.083, allocations: 8.562 kB / 3.019 GB, free: 194.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/5.084, allocations: 186.6 kB / 3.019 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/5.085, allocations: 0.6037 MB / 3.02 GB, free: 193.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/5.085, allocations: 62 kB / 3.02 GB, free: 193.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/5.086, allocations: 72 kB / 3.02 GB, free: 193.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/5.087, allocations: 0.8403 MB / 3.021 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/5.087, allocations: 0 / 3.021 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/5.087, allocations: 35.95 kB / 3.021 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/5.087, allocations: 20 kB / 3.021 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/5.089, allocations: 1.05 MB / 3.022 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003805/5.093, allocations: 2.367 MB / 3.024 GB, free: 189.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/5.094, allocations: 0.7982 MB / 3.025 GB, free: 188.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.982e-05/5.094, allocations: 28.59 kB / 3.025 GB, free: 188.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006542/5.095, allocations: 421.6 kB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.647e-06/5.095, allocations: 0 / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.00269/5.097, allocations: 1.072 MB / 3.027 GB, free: 186.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.761e-05/5.097, allocations: 243.9 kB / 3.027 GB, free: 186.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/5.098, allocations: 0.5775 MB / 3.027 GB, free: 186 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/5.098, allocations: 45.7 kB / 3.027 GB, free: 186 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/5.098, allocations: 356.4 kB / 3.028 GB, free: 185.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/5.099, allocations: 232.6 kB / 3.028 GB, free: 185.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/5.099, allocations: 12 kB / 3.028 GB, free: 185.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001146/5.099, allocations: 382.8 kB / 3.028 GB, free: 185 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/5.099, allocations: 205.2 kB / 3.029 GB, free: 184.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/5.1, allocations: 323.6 kB / 3.029 GB, free: 184.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/5.1, allocations: 263 kB / 3.029 GB, free: 184.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/5.1, allocations: 0 / 3.029 GB, free: 184.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001571/5.102, allocations: 0.7041 MB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/5.102, allocations: 8 kB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/5.102, allocations: 0 / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/5.102, allocations: 80.84 kB / 3.03 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/5.103, allocations: 139.8 kB / 3.03 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/5.105, allocations: 1.535 MB / 3.032 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/5.105, allocations: 79.5 kB / 3.032 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/5.106, allocations: 27.98 kB / 3.032 GB, free: 181.5 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked 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.0004166/5.106, allocations: 246.5 kB / 3.032 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/5.106, allocations: 82.95 kB / 3.032 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/5.108, allocations: 0.9668 MB / 3.033 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/5.108, allocations: 8 kB / 3.033 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/5.108, allocations: 4 kB / 3.033 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/5.108, allocations: 3.984 kB / 3.033 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/5.111, allocations: 1.865 MB / 3.035 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/5.111, allocations: 0 / 3.035 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/5.112, allocations: 139.8 kB / 3.035 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005086/5.112, allocations: 84.72 kB / 3.035 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/5.112, allocations: 23.98 kB / 3.035 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/5.114, allocations: 1.548 MB / 3.037 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/5.114, allocations: 288 / 3.037 GB, free: 176.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/5.115, allocations: 0.8945 MB / 3.037 GB, free: 175.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/5.116, allocations: 283.8 kB / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/5.116, allocations: 20 kB / 3.038 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/5.117, allocations: 63.94 kB / 3.038 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/5.117, allocations: 60.92 kB / 3.038 GB, free: 174.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/5.117, allocations: 27.98 kB / 3.038 GB, free: 174.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005695/5.117, allocations: 475 kB / 3.038 GB, free: 174.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.117, allocations: 0 / 3.038 GB, free: 174.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00119/5.119, allocations: 355.1 kB / 3.039 GB, free: 174.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 (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.00213/5.121, allocations: 1.064 MB / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00135/5.122, allocations: 0.7044 MB / 3.04 GB, free: 172.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/5.122, allocations: 0 / 3.04 GB, free: 172.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007783/5.123, allocations: 488.2 kB / 3.041 GB, free: 172 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/5.124, allocations: 248.1 kB / 3.041 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/5.128, allocations: 2.008 MB / 3.043 GB, free: 169.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/5.128, allocations: 1.007 MB / 3.044 GB, free: 168.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007718/5.129, allocations: 257.9 kB / 3.044 GB, free: 168.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/5.129, allocations: 95.33 kB / 3.044 GB, free: 168.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.142e-06/5.129, allocations: 0 / 3.044 GB, free: 168.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02787/5.157, allocations: 20.02 MB / 3.064 GB, free: 148.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches