Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.528/1.528, allocations: 249.5 MB / 257 MB, free: 6.848 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.001706/0.001706, allocations: 176.9 kB / 316.3 MB, free: 3.234 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.236/2.236, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001417/0.001418, allocations: 98.81 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.988e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2394, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.06/6.3, allocations: 2.19 GB / 3.075 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/6.3, allocations: 95.72 kB / 3.075 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1209/6.421, allocations: 56.93 MB / 3.131 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.895e-06/6.421, allocations: 0 / 3.131 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.033e-05/6.421, allocations: 31.98 kB / 3.131 GB, free: 125.2 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001739/6.423, allocations: 1.031 MB / 3.132 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/6.423, allocations: 8.031 kB / 3.132 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/6.424, allocations: 190.5 kB / 3.132 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008505/6.424, allocations: 0.5997 MB / 3.133 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/6.425, allocations: 28 kB / 3.133 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/6.425, allocations: 40 kB / 3.133 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001136/6.426, allocations: 0.9679 MB / 3.134 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/6.427, allocations: 0.7154 MB / 3.134 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/6.427, allocations: 0 / 3.134 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/6.427, allocations: 11.94 kB / 3.134 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/6.427, allocations: 20 kB / 3.134 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/6.43, allocations: 2.22 MB / 3.137 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/6.431, allocations: 0.7098 MB / 3.137 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/6.431, allocations: 242.5 kB / 3.137 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.627e-05/6.431, allocations: 28.59 kB / 3.138 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/6.432, allocations: 387.5 kB / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 2.164e-06/6.432, allocations: 0 / 3.138 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.001324/6.433, allocations: 0.6417 MB / 3.139 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/6.433, allocations: 248.1 kB / 3.139 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/6.434, allocations: 0.4905 MB / 3.139 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/6.434, allocations: 25.7 kB / 3.139 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/6.434, allocations: 372.3 kB / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/6.434, allocations: 228.5 kB / 3.14 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/6.434, allocations: 0 / 3.14 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/6.434, allocations: 374.8 kB / 3.14 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/6.434, allocations: 177.5 kB / 3.14 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/6.435, allocations: 295.5 kB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/6.435, allocations: 224.5 kB / 3.141 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/6.435, allocations: 8 kB / 3.141 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001176/6.436, allocations: 0.6368 MB / 3.141 GB, free: 114 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/6.436, allocations: 7.938 kB / 3.141 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/6.436, allocations: 4.062 kB / 3.141 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/6.437, allocations: 84.66 kB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/6.437, allocations: 139.9 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/6.439, allocations: 1.45 MB / 3.143 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/6.44, allocations: 63.59 kB / 3.143 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/6.44, allocations: 27.92 kB / 3.143 GB, free: 112.1 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 (74): * Single equations (assignments): 73 * 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.000182/6.44, allocations: 116.9 kB / 3.143 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/6.44, allocations: 67.16 kB / 3.143 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/6.442, allocations: 0.918 MB / 3.144 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/6.442, allocations: 11.98 kB / 3.144 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/6.442, allocations: 0 / 3.144 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/6.442, allocations: 3.984 kB / 3.144 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/6.444, allocations: 1.695 MB / 3.146 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/6.444, allocations: 4 kB / 3.146 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/6.445, allocations: 151.8 kB / 3.146 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/6.445, allocations: 80.78 kB / 3.146 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/6.445, allocations: 19.97 kB / 3.146 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/6.447, allocations: 1.465 MB / 3.148 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/6.447, allocations: 3.953 kB / 3.148 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/6.448, allocations: 0.8221 MB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/6.448, allocations: 279.8 kB / 3.149 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/6.448, allocations: 3.953 kB / 3.149 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/6.449, allocations: 55.94 kB / 3.149 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/6.449, allocations: 60.69 kB / 3.149 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/6.449, allocations: 31.98 kB / 3.149 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000429/6.449, allocations: 406.8 kB / 3.149 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.449, allocations: 0 / 3.149 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001012/6.45, allocations: 307 kB / 3.15 GB, free: 105.4 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 (86): * Single equations (assignments): 83 * 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.001657/6.452, allocations: 1.04 MB / 3.151 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001064/6.453, allocations: 0.6355 MB / 3.151 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/6.453, allocations: 12.06 kB / 3.151 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005582/6.454, allocations: 448.5 kB / 3.152 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/6.455, allocations: 220.6 kB / 3.152 GB, free: 103 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/6.458, allocations: 1.262 MB / 3.153 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/6.458, allocations: 1.019 MB / 3.154 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007943/6.459, allocations: 249.7 kB / 3.154 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/6.459, allocations: 99.33 kB / 3.154 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/6.459, allocations: 4 kB / 3.154 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02252/6.482, allocations: 15.16 MB / 3.169 GB, free: 85.27 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches