Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.579/1.579, allocations: 249.3 MB / 261.9 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001204, allocations: 169 kB / 321.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.2 MB / 0.572 GB, free: 10.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 86.48 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.094e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 106.3 MB / 0.8918 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.739/5.97, allocations: 2.19 GB / 3.081 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/5.97, allocations: 91.2 kB / 3.081 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1229/6.093, allocations: 58.01 MB / 3.138 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/6.093, allocations: 0 / 3.138 GB, free: 85.95 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.057e-05/6.093, allocations: 27.94 kB / 3.138 GB, free: 85.92 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001837/6.095, allocations: 1.019 MB / 3.139 GB, free: 84.85 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/6.095, allocations: 12.03 kB / 3.139 GB, free: 84.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008499/6.096, allocations: 190.6 kB / 3.139 GB, free: 84.65 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009179/6.097, allocations: 0.592 MB / 3.14 GB, free: 84.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/6.097, allocations: 58 kB / 3.14 GB, free: 83.96 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/6.097, allocations: 72 kB / 3.14 GB, free: 83.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/6.099, allocations: 0.8013 MB / 3.141 GB, free: 83.05 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/6.099, allocations: 0 / 3.141 GB, free: 83.05 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/6.099, allocations: 32 kB / 3.141 GB, free: 83.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/6.099, allocations: 23.95 kB / 3.141 GB, free: 82.99 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/6.1, allocations: 0.9991 MB / 3.142 GB, free: 82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/6.103, allocations: 2.332 MB / 3.144 GB, free: 79.59 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/6.104, allocations: 0.7568 MB / 3.145 GB, free: 78.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/6.104, allocations: 254.5 kB / 3.145 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/6.105, allocations: 24.61 kB / 3.145 GB, free: 78.53 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005385/6.105, allocations: 401.8 kB / 3.145 GB, free: 78.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 2.275e-06/6.105, allocations: 0 / 3.145 GB, free: 78.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001351/6.106, allocations: 0.6561 MB / 3.146 GB, free: 77.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/6.107, allocations: 251.8 kB / 3.146 GB, free: 77.15 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/6.107, allocations: 0.5402 MB / 3.147 GB, free: 76.61 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/6.107, allocations: 41.7 kB / 3.147 GB, free: 76.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/6.107, allocations: 364.3 kB / 3.147 GB, free: 76.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/6.108, allocations: 228.6 kB / 3.147 GB, free: 75.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/6.108, allocations: 16 kB / 3.148 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/6.108, allocations: 378.7 kB / 3.148 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/6.108, allocations: 193.5 kB / 3.148 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/6.108, allocations: 297.1 kB / 3.148 GB, free: 75.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/6.109, allocations: 238 kB / 3.149 GB, free: 74.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/6.109, allocations: 0 / 3.149 GB, free: 74.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001194/6.11, allocations: 0.6603 MB / 3.149 GB, free: 74.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/6.11, allocations: 11.98 kB / 3.149 GB, free: 74.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/6.11, allocations: 0 / 3.149 GB, free: 74.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/6.11, allocations: 88.73 kB / 3.149 GB, free: 74.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/6.111, allocations: 135.8 kB / 3.149 GB, free: 73.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/6.113, allocations: 1.513 MB / 3.151 GB, free: 72.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/6.113, allocations: 75.47 kB / 3.151 GB, free: 72.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/6.113, allocations: 27.98 kB / 3.151 GB, free: 72.17 MB / 0.8698 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.0001697/6.114, allocations: 144.8 kB / 3.151 GB, free: 72.02 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/6.114, allocations: 75.14 kB / 3.151 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/6.115, allocations: 0.9259 MB / 3.152 GB, free: 71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/6.115, allocations: 8 kB / 3.152 GB, free: 71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/6.115, allocations: 0 / 3.152 GB, free: 71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/6.115, allocations: 3.984 kB / 3.152 GB, free: 70.99 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/6.118, allocations: 1.804 MB / 3.154 GB, free: 69.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/6.118, allocations: 48 / 3.154 GB, free: 69.13 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/6.118, allocations: 139.8 kB / 3.154 GB, free: 68.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/6.119, allocations: 88.77 kB / 3.154 GB, free: 68.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/6.119, allocations: 19.98 kB / 3.154 GB, free: 68.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/6.12, allocations: 1.536 MB / 3.156 GB, free: 67.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/6.12, allocations: 7.969 kB / 3.156 GB, free: 67.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/6.122, allocations: 0.8377 MB / 3.156 GB, free: 66.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/6.122, allocations: 271.8 kB / 3.157 GB, free: 66.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.223e-05/6.122, allocations: 19.98 kB / 3.157 GB, free: 66.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/6.123, allocations: 67.95 kB / 3.157 GB, free: 65.98 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/6.123, allocations: 64.62 kB / 3.157 GB, free: 65.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/6.123, allocations: 27.98 kB / 3.157 GB, free: 65.88 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004885/6.123, allocations: 459.2 kB / 3.157 GB, free: 65.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.123, allocations: 4 kB / 3.157 GB, free: 65.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001022/6.124, allocations: 323.2 kB / 3.158 GB, free: 65.11 MB / 0.8698 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.001825/6.126, allocations: 0.9872 MB / 3.159 GB, free: 64.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001139/6.127, allocations: 0.6668 MB / 3.159 GB, free: 63.52 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/6.127, allocations: 0 / 3.159 GB, free: 63.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/6.128, allocations: 451 kB / 3.16 GB, free: 63.07 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/6.129, allocations: 244.4 kB / 3.16 GB, free: 62.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/6.132, allocations: 1.292 MB / 3.161 GB, free: 61.52 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/6.133, allocations: 1.003 MB / 3.162 GB, free: 60.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007707/6.133, allocations: 257.7 kB / 3.162 GB, free: 60.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/6.134, allocations: 91.39 kB / 3.162 GB, free: 60.15 MB / 0.8698 GB Notification: Performance of SimCode: time 8.42e-07/6.134, allocations: 0 / 3.162 GB, free: 60.15 MB / 0.8698 GB Notification: Performance of Templates: time 0.02884/6.162, allocations: 21.3 MB / 3.183 GB, free: 38.91 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches