Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.275/2.275, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001156/0.001156, allocations: 179.5 kB / 0.4902 GB, free: 2.219 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.61/1.61, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.0009008/0.0009009, allocations: 98.73 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 7.688 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.829/5.176, allocations: 1.733 GB / 2.962 GB, free: 253.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/5.177, allocations: 96.5 kB / 2.962 GB, free: 253.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2021/5.379, allocations: 94.68 MB / 3.055 GB, free: 158.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.325e-06/5.379, allocations: 4 kB / 3.055 GB, free: 158.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.966e-05/5.379, allocations: 32 kB / 3.055 GB, free: 158.2 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002728/5.382, allocations: 1.523 MB / 3.056 GB, free: 156.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/5.382, allocations: 8.562 kB / 3.056 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009124/5.383, allocations: 249.8 kB / 3.057 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/5.384, allocations: 0.7754 MB / 3.057 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/5.384, allocations: 106.9 kB / 3.057 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/5.384, allocations: 139.9 kB / 3.058 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/5.386, allocations: 1.409 MB / 3.059 GB, free: 153.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/5.386, allocations: 0 / 3.059 GB, free: 153.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/5.386, allocations: 63.95 kB / 3.059 GB, free: 153.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/5.386, allocations: 36 kB / 3.059 GB, free: 153.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/5.388, allocations: 1.513 MB / 3.061 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006177/5.394, allocations: 3.837 MB / 3.064 GB, free: 148.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/5.396, allocations: 0.9629 MB / 3.065 GB, free: 147.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/5.396, allocations: 53.34 kB / 3.065 GB, free: 147.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/5.397, allocations: 0.5709 MB / 3.066 GB, free: 146.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=104): time 3.998e-06/5.397, allocations: 4 kB / 3.066 GB, free: 146.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=104): time 0.003717/5.401, allocations: 1.49 MB / 3.067 GB, free: 145.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/5.401, allocations: 244.3 kB / 3.068 GB, free: 144.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/5.402, allocations: 0.7347 MB / 3.068 GB, free: 144.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/5.402, allocations: 45.7 kB / 3.068 GB, free: 144.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/5.403, allocations: 0.5583 MB / 3.069 GB, free: 143.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/5.403, allocations: 343 kB / 3.069 GB, free: 143.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/5.403, allocations: 27.94 kB / 3.069 GB, free: 143.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001182/5.403, allocations: 341.9 kB / 3.069 GB, free: 142.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/5.404, allocations: 337.8 kB / 3.07 GB, free: 142.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/5.404, allocations: 471.3 kB / 3.07 GB, free: 142 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/5.405, allocations: 419.1 kB / 3.071 GB, free: 141.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/5.405, allocations: 3.938 kB / 3.071 GB, free: 141.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002168/5.407, allocations: 1.067 MB / 3.072 GB, free: 140.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/5.407, allocations: 4 kB / 3.072 GB, free: 140.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/5.407, allocations: 0 / 3.072 GB, free: 140.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006787/5.408, allocations: 92.77 kB / 3.072 GB, free: 140.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/5.409, allocations: 207.7 kB / 3.072 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/5.411, allocations: 1.551 MB / 3.074 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008813/5.412, allocations: 107 kB / 3.074 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/5.412, allocations: 52.09 kB / 3.074 GB, free: 138.3 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 (116): * Single equations (assignments): 115 * 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.0006192/5.413, allocations: 310.4 kB / 3.074 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/5.413, allocations: 102.7 kB / 3.074 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/5.416, allocations: 1.415 MB / 3.075 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/5.416, allocations: 15.95 kB / 3.075 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/5.416, allocations: 0 / 3.075 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/5.416, allocations: 7.984 kB / 3.075 GB, free: 136.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/5.419, allocations: 2.621 MB / 3.078 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/5.419, allocations: 0 / 3.078 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/5.42, allocations: 191.7 kB / 3.078 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/5.421, allocations: 84.77 kB / 3.078 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/5.421, allocations: 31.98 kB / 3.078 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/5.422, allocations: 1.567 MB / 3.08 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/5.422, allocations: 8 kB / 3.08 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/5.424, allocations: 1.175 MB / 3.081 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/5.425, allocations: 367.1 kB / 3.081 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/5.425, allocations: 23.95 kB / 3.081 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/5.426, allocations: 67.95 kB / 3.081 GB, free: 130.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/5.426, allocations: 84.81 kB / 3.082 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/5.426, allocations: 39.98 kB / 3.082 GB, free: 130 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007544/5.427, allocations: 0.6278 MB / 3.082 GB, free: 129.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/5.427, allocations: 0 / 3.082 GB, free: 129.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001358/5.428, allocations: 462.6 kB / 3.083 GB, free: 128.9 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 (115): * Single equations (assignments): 112 * 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.001952/5.43, allocations: 1.082 MB / 3.084 GB, free: 128 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001835/5.432, allocations: 1.011 MB / 3.085 GB, free: 127 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/5.432, allocations: 0 / 3.085 GB, free: 127 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009725/5.433, allocations: 0.6056 MB / 3.085 GB, free: 126.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/5.434, allocations: 263.6 kB / 3.086 GB, free: 126.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/5.439, allocations: 2.946 MB / 3.088 GB, free: 123.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/5.44, allocations: 1.193 MB / 3.09 GB, free: 121.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001064/5.441, allocations: 304.2 kB / 3.09 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/5.441, allocations: 131.4 kB / 3.09 GB, free: 121.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.482e-06/5.441, allocations: 3.938 kB / 3.09 GB, free: 121.5 MB / 1.167 GB Notification: Performance of Templates: time 0.03785/5.479, allocations: 23.98 MB / 3.113 GB, free: 97.58 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches