Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.262/2.262, 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.001152/0.001152, allocations: 187.9 kB / 0.4902 GB, free: 2.254 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.53/1.53, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.001344/0.001344, allocations: 100.4 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004004, allocations: 7.406 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3688, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.761/5.129, allocations: 1.731 GB / 2.961 GB, free: 255.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/5.13, allocations: 89.12 kB / 2.961 GB, free: 255.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1426/5.272, allocations: 63.74 MB / 3.023 GB, free: 191.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 5.229e-06/5.273, allocations: 0 / 3.023 GB, free: 191.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001506/5.273, allocations: 23.94 kB / 3.023 GB, free: 191.1 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003571/5.276, allocations: 1.167 MB / 3.024 GB, free: 189.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/5.276, allocations: 12.02 kB / 3.024 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/5.278, allocations: 182.6 kB / 3.024 GB, free: 189.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/5.279, allocations: 0.6114 MB / 3.025 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/5.279, allocations: 58 kB / 3.025 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.683e-05/5.279, allocations: 72 kB / 3.025 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/5.28, allocations: 0.8559 MB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/5.28, allocations: 0 / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/5.28, allocations: 43.95 kB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/5.281, allocations: 20 kB / 3.026 GB, free: 187.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/5.282, allocations: 1.065 MB / 3.027 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/5.285, allocations: 2.429 MB / 3.029 GB, free: 184.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/5.286, allocations: 0.8094 MB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.671e-05/5.287, allocations: 28.59 kB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006332/5.287, allocations: 430.8 kB / 3.03 GB, free: 183.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.254e-06/5.287, allocations: 0 / 3.03 GB, free: 183.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002748/5.29, allocations: 1.086 MB / 3.032 GB, free: 182 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/5.29, allocations: 243.9 kB / 3.032 GB, free: 181.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/5.291, allocations: 0.5852 MB / 3.032 GB, free: 181.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/5.291, allocations: 41.7 kB / 3.032 GB, free: 181 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/5.291, allocations: 368.3 kB / 3.033 GB, free: 180.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/5.291, allocations: 236.6 kB / 3.033 GB, free: 180.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/5.291, allocations: 12 kB / 3.033 GB, free: 180.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/5.291, allocations: 378.8 kB / 3.033 GB, free: 180 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/5.292, allocations: 221.2 kB / 3.034 GB, free: 179.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/5.292, allocations: 319.7 kB / 3.034 GB, free: 179.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/5.293, allocations: 263.1 kB / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/5.293, allocations: 4 kB / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001472/5.294, allocations: 0.7159 MB / 3.035 GB, free: 178.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/5.294, allocations: 4 kB / 3.035 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/5.294, allocations: 0 / 3.035 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/5.295, allocations: 88.83 kB / 3.035 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/5.295, allocations: 127.8 kB / 3.035 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/5.297, allocations: 1.552 MB / 3.037 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/5.298, allocations: 75.44 kB / 3.037 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/5.298, allocations: 27.92 kB / 3.037 GB, free: 176.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.0003905/5.298, allocations: 249.8 kB / 3.037 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/5.298, allocations: 75.06 kB / 3.037 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/5.3, allocations: 0.9902 MB / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/5.3, allocations: 8 kB / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/5.3, allocations: 0 / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/5.3, allocations: 3.984 kB / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/5.303, allocations: 1.904 MB / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/5.303, allocations: 0 / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/5.303, allocations: 143.8 kB / 3.04 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/5.304, allocations: 84.77 kB / 3.04 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/5.304, allocations: 19.98 kB / 3.04 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/5.306, allocations: 1.567 MB / 3.042 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/5.306, allocations: 4.016 kB / 3.042 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/5.307, allocations: 0.9101 MB / 3.042 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/5.308, allocations: 283.8 kB / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/5.308, allocations: 19.94 kB / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/5.308, allocations: 67.95 kB / 3.043 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/5.308, allocations: 56.91 kB / 3.043 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-05/5.308, allocations: 31.98 kB / 3.043 GB, free: 169.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005393/5.309, allocations: 479 kB / 3.043 GB, free: 169.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.309, allocations: 4 kB / 3.043 GB, free: 169.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001116/5.31, allocations: 351.2 kB / 3.044 GB, free: 169 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.00189/5.312, allocations: 1.064 MB / 3.045 GB, free: 168.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001289/5.313, allocations: 0.7162 MB / 3.045 GB, free: 167.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/5.313, allocations: 0 / 3.045 GB, free: 167.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006867/5.314, allocations: 484.3 kB / 3.046 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/5.315, allocations: 234 kB / 3.046 GB, free: 166.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/5.319, allocations: 2.037 MB / 3.048 GB, free: 164.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/5.319, allocations: 1.015 MB / 3.049 GB, free: 163.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007689/5.32, allocations: 261.9 kB / 3.049 GB, free: 163.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/5.32, allocations: 95.39 kB / 3.049 GB, free: 163.2 MB / 1.167 GB Notification: Performance of SimCode: time 5.11e-07/5.32, allocations: 0 / 3.049 GB, free: 163.2 MB / 1.167 GB Notification: Performance of Templates: time 0.02742/5.348, allocations: 20.17 MB / 3.069 GB, free: 143.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches