Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 249.3 MB / 261.8 MB, free: 5.91 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.001197/0.001197, allocations: 176.9 kB / 321.3 MB, free: 14.65 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.024/2.024, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.001005/0.001005, allocations: 88.17 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.771e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2279, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.815/6.043, allocations: 2.191 GB / 3.083 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/6.043, allocations: 97.19 kB / 3.083 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1275/6.171, allocations: 59.26 MB / 3.141 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/6.171, allocations: 4 kB / 3.141 GB, free: 83.17 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.172e-05/6.171, allocations: 24 kB / 3.141 GB, free: 83.15 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001943/6.173, allocations: 1.06 MB / 3.142 GB, free: 82.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.248e-05/6.173, allocations: 8.031 kB / 3.142 GB, free: 82.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009619/6.174, allocations: 194.4 kB / 3.142 GB, free: 81.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/6.175, allocations: 0.6329 MB / 3.142 GB, free: 81.17 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/6.175, allocations: 87.7 kB / 3.143 GB, free: 81.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/6.176, allocations: 80 kB / 3.143 GB, free: 81 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/6.177, allocations: 0.8404 MB / 3.143 GB, free: 80.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/6.177, allocations: 7.938 kB / 3.143 GB, free: 80.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/6.177, allocations: 36 kB / 3.143 GB, free: 80.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/6.177, allocations: 19.95 kB / 3.143 GB, free: 80.05 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/6.178, allocations: 1.038 MB / 3.144 GB, free: 79.02 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/6.182, allocations: 2.422 MB / 3.147 GB, free: 76.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/6.183, allocations: 0.8233 MB / 3.148 GB, free: 75.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/6.183, allocations: 279.1 kB / 3.148 GB, free: 75.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.343e-05/6.184, allocations: 40.75 kB / 3.148 GB, free: 75.35 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006073/6.184, allocations: 421.2 kB / 3.148 GB, free: 74.92 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/6.184, allocations: 0 / 3.148 GB, free: 74.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001524/6.186, allocations: 0.7071 MB / 3.149 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/6.186, allocations: 244.1 kB / 3.149 GB, free: 73.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007296/6.187, allocations: 0.5814 MB / 3.15 GB, free: 73.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/6.187, allocations: 37.7 kB / 3.15 GB, free: 73.27 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/6.187, allocations: 372.4 kB / 3.15 GB, free: 72.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/6.187, allocations: 252.3 kB / 3.15 GB, free: 72.65 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/6.187, allocations: 11.94 kB / 3.15 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001339/6.187, allocations: 382.8 kB / 3.151 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/6.188, allocations: 201.5 kB / 3.151 GB, free: 72.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/6.188, allocations: 317.1 kB / 3.151 GB, free: 71.72 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/6.188, allocations: 258 kB / 3.152 GB, free: 71.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/6.188, allocations: 0 / 3.152 GB, free: 71.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001451/6.19, allocations: 0.707 MB / 3.152 GB, free: 70.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/6.19, allocations: 4 kB / 3.152 GB, free: 70.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/6.19, allocations: 4 kB / 3.152 GB, free: 70.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/6.19, allocations: 80.84 kB / 3.152 GB, free: 70.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/6.191, allocations: 151.8 kB / 3.153 GB, free: 70.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/6.193, allocations: 1.513 MB / 3.154 GB, free: 68.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/6.194, allocations: 91.36 kB / 3.154 GB, free: 68.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/6.194, allocations: 24.23 kB / 3.154 GB, free: 68.75 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 (78): * Single equations (assignments): 77 * 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.0002174/6.194, allocations: 152.8 kB / 3.154 GB, free: 68.59 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/6.194, allocations: 83.05 kB / 3.154 GB, free: 68.51 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/6.197, allocations: 1.021 MB / 3.155 GB, free: 67.48 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/6.197, allocations: 11.98 kB / 3.155 GB, free: 67.47 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/6.197, allocations: 0 / 3.155 GB, free: 67.47 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/6.197, allocations: 3.984 kB / 3.155 GB, free: 67.46 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/6.2, allocations: 1.925 MB / 3.157 GB, free: 65.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/6.2, allocations: 0 / 3.157 GB, free: 65.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/6.2, allocations: 163.8 kB / 3.157 GB, free: 65.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/6.201, allocations: 80.78 kB / 3.157 GB, free: 65.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.614e-05/6.201, allocations: 23.98 kB / 3.157 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/6.202, allocations: 1.54 MB / 3.159 GB, free: 63.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/6.202, allocations: 0 / 3.159 GB, free: 63.53 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/6.204, allocations: 0.9079 MB / 3.16 GB, free: 62.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/6.204, allocations: 295.6 kB / 3.16 GB, free: 62.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/6.204, allocations: 24.06 kB / 3.16 GB, free: 62.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/6.205, allocations: 71.94 kB / 3.16 GB, free: 62.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/6.205, allocations: 72.56 kB / 3.16 GB, free: 62.13 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/6.205, allocations: 31.98 kB / 3.16 GB, free: 62.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005408/6.206, allocations: 475.1 kB / 3.161 GB, free: 61.64 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.206, allocations: 0 / 3.161 GB, free: 61.64 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001153/6.207, allocations: 327.3 kB / 3.161 GB, free: 61.32 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 (93): * Single equations (assignments): 90 * 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.002059/6.209, allocations: 0.9839 MB / 3.162 GB, free: 60.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001289/6.21, allocations: 0.7135 MB / 3.163 GB, free: 59.68 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/6.21, allocations: 0 / 3.163 GB, free: 59.68 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006686/6.211, allocations: 495.1 kB / 3.163 GB, free: 59.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/6.212, allocations: 245.6 kB / 3.163 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/6.215, allocations: 1.355 MB / 3.165 GB, free: 57.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/6.215, allocations: 1.031 MB / 3.166 GB, free: 56.51 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008111/6.216, allocations: 262.2 kB / 3.166 GB, free: 56.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/6.217, allocations: 99.38 kB / 3.166 GB, free: 56.16 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/6.217, allocations: 0 / 3.166 GB, free: 56.16 MB / 0.8698 GB Notification: Performance of Templates: time 0.03077/6.247, allocations: 21.77 MB / 3.187 GB, free: 34.44 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches