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.561/1.561, allocations: 249.5 MB / 257 MB, free: 6.949 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.001441/0.001441, allocations: 176.8 kB / 316.3 MB, free: 3.215 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.08/2.08, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.001004/0.001004, allocations: 95.53 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.553e-05/1.555e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.855/6.075, allocations: 2.191 GB / 3.076 GB, free: 216 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/6.075, allocations: 93.2 kB / 3.076 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1227/6.198, allocations: 57.58 MB / 3.133 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/6.198, allocations: 7.938 kB / 3.133 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.394e-05/6.198, allocations: 20 kB / 3.133 GB, free: 158.1 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.001786/6.2, allocations: 1.059 MB / 3.134 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/6.2, allocations: 11.97 kB / 3.134 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008241/6.201, allocations: 194.4 kB / 3.134 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009663/6.202, allocations: 0.6252 MB / 3.134 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/6.202, allocations: 67.64 kB / 3.135 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/6.202, allocations: 47.98 kB / 3.135 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001155/6.203, allocations: 0.9952 MB / 3.136 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/6.204, allocations: 0.7233 MB / 3.136 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/6.204, allocations: 4 kB / 3.136 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/6.204, allocations: 3.953 kB / 3.136 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/6.204, allocations: 20 kB / 3.136 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/6.207, allocations: 2.271 MB / 3.139 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/6.209, allocations: 0.7814 MB / 3.139 GB, free: 151 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/6.209, allocations: 247.2 kB / 3.14 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-05/6.209, allocations: 40.73 kB / 3.14 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000509/6.21, allocations: 399.8 kB / 3.14 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.115e-06/6.21, allocations: 0 / 3.14 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001383/6.211, allocations: 0.6796 MB / 3.141 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/6.211, allocations: 240.1 kB / 3.141 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/6.212, allocations: 0.4906 MB / 3.141 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/6.212, allocations: 29.7 kB / 3.141 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/6.212, allocations: 376.3 kB / 3.142 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/6.212, allocations: 248.3 kB / 3.142 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/6.212, allocations: 0 / 3.142 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001059/6.212, allocations: 374.8 kB / 3.142 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/6.213, allocations: 189.5 kB / 3.142 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/6.213, allocations: 295.5 kB / 3.143 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/6.213, allocations: 244.4 kB / 3.143 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/6.213, allocations: 4 kB / 3.143 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001203/6.215, allocations: 0.6525 MB / 3.144 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/6.215, allocations: 13.73 kB / 3.144 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/6.215, allocations: 0 / 3.144 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/6.215, allocations: 88.77 kB / 3.144 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/6.216, allocations: 143.8 kB / 3.144 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/6.217, allocations: 1.457 MB / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/6.218, allocations: 59.53 kB / 3.145 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/6.218, allocations: 35.97 kB / 3.145 GB, free: 144.5 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.0001605/6.218, allocations: 123.4 kB / 3.145 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/6.218, allocations: 75.06 kB / 3.146 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/6.22, allocations: 0.9582 MB / 3.146 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/6.22, allocations: 8 kB / 3.146 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/6.22, allocations: 4 kB / 3.146 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/6.22, allocations: 3.984 kB / 3.147 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/6.222, allocations: 1.757 MB / 3.148 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/6.222, allocations: 0 / 3.148 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/6.223, allocations: 163.8 kB / 3.148 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/6.223, allocations: 80.78 kB / 3.148 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/6.224, allocations: 15.98 kB / 3.148 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/6.225, allocations: 1.492 MB / 3.15 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/6.225, allocations: 0 / 3.15 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/6.226, allocations: 0.8533 MB / 3.151 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/6.226, allocations: 287.8 kB / 3.151 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.762e-05/6.227, allocations: 0 / 3.151 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/6.227, allocations: 63.88 kB / 3.151 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/6.227, allocations: 64.69 kB / 3.151 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/6.227, allocations: 27.98 kB / 3.151 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004227/6.228, allocations: 402.9 kB / 3.152 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.228, allocations: 0 / 3.152 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009724/6.229, allocations: 315.2 kB / 3.152 GB, free: 137.6 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.001557/6.23, allocations: 1.033 MB / 3.153 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001016/6.231, allocations: 0.6667 MB / 3.154 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/6.231, allocations: 3.938 kB / 3.154 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005809/6.232, allocations: 464.7 kB / 3.154 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009889/6.233, allocations: 218.7 kB / 3.154 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/6.236, allocations: 1.317 MB / 3.155 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/6.236, allocations: 1.031 MB / 3.156 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007683/6.237, allocations: 261.9 kB / 3.157 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/6.237, allocations: 99.39 kB / 3.157 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.423e-06/6.237, allocations: 4 kB / 3.157 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.02182/6.259, allocations: 15.37 MB / 3.172 GB, free: 117.2 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