Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_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_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.437/2.437, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001191/0.001191, allocations: 168.1 kB / 498.1 MB, free: 5.754 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.566/1.566, allocations: 223.2 MB / 0.7949 GB, free: 17.83 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.00102/0.00102, allocations: 107.8 kB / 0.9346 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004123, allocations: 10.25 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3183, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.754/5.072, allocations: 1.731 GB / 2.953 GB, free: 253.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004627/5.073, allocations: 99.22 kB / 2.953 GB, free: 253.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1242/5.197, allocations: 58.9 MB / 3.011 GB, free: 203.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.217e-06/5.197, allocations: 0 / 3.011 GB, free: 203.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001155/5.197, allocations: 31.92 kB / 3.011 GB, free: 203.4 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.002514/5.2, allocations: 1.158 MB / 3.012 GB, free: 202.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/5.2, allocations: 8.031 kB / 3.012 GB, free: 202.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008974/5.201, allocations: 194.6 kB / 3.012 GB, free: 202.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/5.202, allocations: 0.6012 MB / 3.013 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/5.202, allocations: 54.25 kB / 3.013 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/5.202, allocations: 81.19 kB / 3.013 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/5.203, allocations: 0.83 MB / 3.014 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/5.203, allocations: 7.875 kB / 3.014 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/5.203, allocations: 38.27 kB / 3.014 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/5.203, allocations: 20 kB / 3.014 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/5.205, allocations: 1.057 MB / 3.015 GB, free: 200 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/5.208, allocations: 2.353 MB / 3.017 GB, free: 198 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/5.209, allocations: 0.7958 MB / 3.018 GB, free: 197.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/5.209, allocations: 31.89 kB / 3.018 GB, free: 197.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006665/5.21, allocations: 415.8 kB / 3.018 GB, free: 197.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.146e-06/5.21, allocations: 0 / 3.018 GB, free: 197.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.00265/5.213, allocations: 1.068 MB / 3.02 GB, free: 196.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/5.213, allocations: 247.8 kB / 3.02 GB, free: 196 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000683/5.214, allocations: 0.5807 MB / 3.02 GB, free: 195.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/5.214, allocations: 40.95 kB / 3.02 GB, free: 195.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/5.214, allocations: 361.1 kB / 3.021 GB, free: 195.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/5.214, allocations: 238 kB / 3.021 GB, free: 195 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/5.214, allocations: 11.38 kB / 3.021 GB, free: 195 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001045/5.214, allocations: 380.4 kB / 3.021 GB, free: 194.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/5.215, allocations: 211.9 kB / 3.022 GB, free: 194.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/5.215, allocations: 316 kB / 3.022 GB, free: 194.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/5.215, allocations: 256.5 kB / 3.022 GB, free: 194.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/5.215, allocations: 0 / 3.022 GB, free: 194.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001526/5.217, allocations: 0.7065 MB / 3.023 GB, free: 193.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/5.217, allocations: 4 kB / 3.023 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/5.217, allocations: 4.062 kB / 3.023 GB, free: 193.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/5.218, allocations: 83.83 kB / 3.023 GB, free: 193.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/5.218, allocations: 135.2 kB / 3.023 GB, free: 193.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/5.22, allocations: 1.527 MB / 3.024 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/5.221, allocations: 86.44 kB / 3.025 GB, free: 191.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/5.221, allocations: 27.67 kB / 3.025 GB, free: 191.7 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.0004743/5.221, allocations: 245.2 kB / 3.025 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/5.221, allocations: 83 kB / 3.025 GB, free: 191.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/5.223, allocations: 0.9672 MB / 3.026 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/5.223, allocations: 12 kB / 3.026 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/5.223, allocations: 4 kB / 3.026 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/5.223, allocations: 3.984 kB / 3.026 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/5.226, allocations: 1.857 MB / 3.028 GB, free: 189.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/5.226, allocations: 3.938 kB / 3.028 GB, free: 189.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/5.227, allocations: 143.2 kB / 3.028 GB, free: 189.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004899/5.227, allocations: 83.16 kB / 3.028 GB, free: 189.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/5.227, allocations: 19.3 kB / 3.028 GB, free: 189.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/5.229, allocations: 1.563 MB / 3.029 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/5.229, allocations: 4.266 kB / 3.029 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/5.23, allocations: 0.8954 MB / 3.03 GB, free: 186.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/5.231, allocations: 282 kB / 3.031 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.449e-05/5.231, allocations: 15.56 kB / 3.031 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/5.231, allocations: 69.94 kB / 3.031 GB, free: 186.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/5.231, allocations: 55.98 kB / 3.031 GB, free: 186.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/5.231, allocations: 30.42 kB / 3.031 GB, free: 186.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000584/5.232, allocations: 473.7 kB / 3.031 GB, free: 186.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/5.232, allocations: 0 / 3.031 GB, free: 186.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00123/5.233, allocations: 352.1 kB / 3.032 GB, free: 185.8 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.002039/5.235, allocations: 1.059 MB / 3.033 GB, free: 185 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001411/5.237, allocations: 0.7093 MB / 3.033 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/5.237, allocations: 0 / 3.033 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007043/5.237, allocations: 489.8 kB / 3.034 GB, free: 184 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009852/5.238, allocations: 247.2 kB / 3.034 GB, free: 183.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/5.242, allocations: 2.009 MB / 3.036 GB, free: 182 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/5.242, allocations: 1.006 MB / 3.037 GB, free: 181 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007647/5.243, allocations: 249.9 kB / 3.037 GB, free: 180.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/5.243, allocations: 94.02 kB / 3.037 GB, free: 180.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.293e-06/5.243, allocations: 4 kB / 3.037 GB, free: 180.6 MB / 1.167 GB Notification: Performance of Templates: time 0.02836/5.272, allocations: 20 MB / 3.057 GB, free: 160.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches