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.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 175.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.0008603/0.0008603, allocations: 96.31 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003497, allocations: 10.5 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2422, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.692/5.934, allocations: 2.19 GB / 3.09 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/5.935, allocations: 96.88 kB / 3.09 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1327/6.067, allocations: 58.31 MB / 3.147 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.926e-06/6.067, allocations: 0 / 3.147 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.523e-05/6.068, allocations: 15.62 kB / 3.147 GB, free: 239.2 MB / 0.8855 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.002121/6.07, allocations: 1.131 MB / 3.148 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/6.07, allocations: 15.5 kB / 3.148 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008208/6.071, allocations: 189.1 kB / 3.148 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008456/6.071, allocations: 0.5961 MB / 3.149 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/6.071, allocations: 54.62 kB / 3.149 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/6.072, allocations: 75.38 kB / 3.149 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/6.073, allocations: 0.8206 MB / 3.15 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/6.073, allocations: 0 / 3.15 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/6.073, allocations: 35.94 kB / 3.15 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/6.073, allocations: 23.42 kB / 3.15 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/6.074, allocations: 1.043 MB / 3.151 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/6.077, allocations: 2.329 MB / 3.153 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/6.078, allocations: 0.7899 MB / 3.154 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-05/6.078, allocations: 30.53 kB / 3.154 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005988/6.079, allocations: 419.7 kB / 3.154 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 2.304e-06/6.079, allocations: 3.938 kB / 3.154 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002577/6.081, allocations: 1.068 MB / 3.155 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/6.082, allocations: 243.6 kB / 3.155 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/6.082, allocations: 0.5662 MB / 3.156 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/6.082, allocations: 39.45 kB / 3.156 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/6.083, allocations: 363.6 kB / 3.156 GB, free: 236 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/6.083, allocations: 224.1 kB / 3.157 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/6.083, allocations: 19.47 kB / 3.157 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000102/6.083, allocations: 372 kB / 3.157 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/6.083, allocations: 212.4 kB / 3.157 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/6.084, allocations: 319.2 kB / 3.157 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/6.084, allocations: 262.4 kB / 3.158 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/6.084, allocations: 0 / 3.158 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001686/6.086, allocations: 0.6999 MB / 3.158 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/6.086, allocations: 3.938 kB / 3.158 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/6.086, allocations: 0 / 3.158 GB, free: 235.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008067/6.087, allocations: 90.94 kB / 3.158 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/6.087, allocations: 129.2 kB / 3.159 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/6.09, allocations: 1.539 MB / 3.16 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/6.09, allocations: 73.69 kB / 3.16 GB, free: 233.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/6.09, allocations: 31.02 kB / 3.16 GB, free: 233.9 MB / 0.8855 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.0004784/6.091, allocations: 247.5 kB / 3.16 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/6.091, allocations: 70.22 kB / 3.161 GB, free: 233.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/6.093, allocations: 0.9767 MB / 3.161 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/6.093, allocations: 7.75 kB / 3.161 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/6.093, allocations: 0 / 3.161 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/6.093, allocations: 3.984 kB / 3.161 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/6.096, allocations: 1.859 MB / 3.163 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/6.096, allocations: 0 / 3.163 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/6.096, allocations: 132.8 kB / 3.163 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004829/6.097, allocations: 83.47 kB / 3.163 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/6.097, allocations: 22.27 kB / 3.164 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/6.098, allocations: 1.568 MB / 3.165 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/6.098, allocations: 0 / 3.165 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/6.1, allocations: 0.8918 MB / 3.166 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/6.1, allocations: 281.1 kB / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.792e-05/6.1, allocations: 15.03 kB / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/6.101, allocations: 66.23 kB / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/6.101, allocations: 62.47 kB / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/6.101, allocations: 23.42 kB / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005134/6.101, allocations: 474.6 kB / 3.167 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/6.101, allocations: 0 / 3.167 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001165/6.103, allocations: 323.6 kB / 3.167 GB, free: 230.4 MB / 0.8855 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.001928/6.105, allocations: 1.016 MB / 3.168 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00144/6.106, allocations: 0.7104 MB / 3.169 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/6.106, allocations: 3.906 kB / 3.169 GB, free: 229.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006681/6.107, allocations: 476.4 kB / 3.169 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/6.108, allocations: 242.6 kB / 3.169 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/6.111, allocations: 2 MB / 3.171 GB, free: 228.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/6.112, allocations: 1.002 MB / 3.172 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007769/6.113, allocations: 250.4 kB / 3.173 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/6.113, allocations: 96.86 kB / 3.173 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of SimCode: time 9.62e-07/6.113, allocations: 0 / 3.173 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.02866/6.141, allocations: 19.65 MB / 3.192 GB, free: 217.5 MB / 0.8855 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