Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001016/0.001016, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008748/0.0008747, allocations: 94.5 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.101e-05/4.107e-05, allocations: 0 / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2449, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.202/6.447, allocations: 2.191 GB / 3.083 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/6.447, allocations: 98.44 kB / 3.083 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1328/6.58, allocations: 59.08 MB / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.214e-06/6.58, allocations: 0 / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001142/6.58, allocations: 27.94 kB / 3.14 GB, free: 118.6 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002742/6.583, allocations: 1.039 MB / 3.141 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/6.583, allocations: 12.02 kB / 3.141 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/6.584, allocations: 190.5 kB / 3.142 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/6.585, allocations: 0.6114 MB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/6.585, allocations: 58 kB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/6.586, allocations: 76 kB / 3.142 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/6.587, allocations: 0.8404 MB / 3.143 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/6.587, allocations: 0 / 3.143 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.625e-05/6.587, allocations: 40 kB / 3.143 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/6.587, allocations: 19.95 kB / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/6.589, allocations: 1.042 MB / 3.144 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/6.593, allocations: 2.429 MB / 3.147 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/6.594, allocations: 0.7038 MB / 3.147 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/6.594, allocations: 271.2 kB / 3.148 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/6.594, allocations: 32.73 kB / 3.148 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007331/6.595, allocations: 422.4 kB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 6.913e-06/6.595, allocations: 0 / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001817/6.597, allocations: 0.7188 MB / 3.149 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/6.597, allocations: 244.1 kB / 3.149 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007424/6.598, allocations: 0.5698 MB / 3.15 GB, free: 109 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/6.598, allocations: 41.7 kB / 3.15 GB, free: 109 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/6.598, allocations: 372.3 kB / 3.15 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/6.598, allocations: 256.3 kB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/6.598, allocations: 16 kB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001535/6.599, allocations: 374.8 kB / 3.151 GB, free: 108 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/6.599, allocations: 213.5 kB / 3.151 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/6.599, allocations: 317 kB / 3.151 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/6.6, allocations: 262 kB / 3.151 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/6.6, allocations: 0 / 3.151 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00138/6.601, allocations: 0.7265 MB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/6.601, allocations: 4 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/6.601, allocations: 4 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/6.602, allocations: 84.83 kB / 3.152 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/6.602, allocations: 151.8 kB / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/6.604, allocations: 1.525 MB / 3.154 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/6.605, allocations: 75.34 kB / 3.154 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/6.605, allocations: 36.05 kB / 3.154 GB, free: 104.4 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 (80): * Single equations (assignments): 79 * 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.0001689/6.605, allocations: 144.8 kB / 3.154 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/6.605, allocations: 79.05 kB / 3.154 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/6.607, allocations: 1.001 MB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/6.607, allocations: 8 kB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/6.607, allocations: 0 / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/6.607, allocations: 3.984 kB / 3.155 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/6.61, allocations: 1.878 MB / 3.157 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/6.61, allocations: 0 / 3.157 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005643/6.61, allocations: 151.8 kB / 3.157 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/6.611, allocations: 84.77 kB / 3.157 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/6.611, allocations: 23.98 kB / 3.157 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/6.612, allocations: 1.536 MB / 3.159 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/6.612, allocations: 0 / 3.159 GB, free: 99.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/6.614, allocations: 0.8923 MB / 3.159 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/6.614, allocations: 283.8 kB / 3.16 GB, free: 98.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/6.614, allocations: 16 kB / 3.16 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/6.615, allocations: 68.08 kB / 3.16 GB, free: 98.01 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/6.615, allocations: 68.67 kB / 3.16 GB, free: 97.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/6.615, allocations: 27.98 kB / 3.16 GB, free: 97.91 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005692/6.615, allocations: 483.1 kB / 3.16 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.615, allocations: 0 / 3.16 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001128/6.617, allocations: 331.2 kB / 3.161 GB, free: 97.12 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 (87): * Single equations (assignments): 84 * 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.001939/6.619, allocations: 0.9904 MB / 3.162 GB, free: 96.21 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001261/6.62, allocations: 0.7021 MB / 3.162 GB, free: 95.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/6.62, allocations: 0 / 3.162 GB, free: 95.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006319/6.62, allocations: 483 kB / 3.163 GB, free: 95.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/6.622, allocations: 248.3 kB / 3.163 GB, free: 94.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/6.625, allocations: 1.344 MB / 3.164 GB, free: 93.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/6.625, allocations: 1.027 MB / 3.165 GB, free: 92.35 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008041/6.626, allocations: 254.2 kB / 3.166 GB, free: 92.09 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/6.626, allocations: 103.4 kB / 3.166 GB, free: 92 MB / 0.8698 GB Notification: Performance of SimCode: time 1.253e-06/6.626, allocations: 0 / 3.166 GB, free: 92 MB / 0.8698 GB Notification: Performance of Templates: time 0.03097/6.657, allocations: 21.82 MB / 3.187 GB, free: 70.24 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches