Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.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.499/1.499, allocations: 249.5 MB / 257 MB, free: 6.93 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.001142/0.001142, allocations: 172.9 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009961/0.0009959, allocations: 101.6 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.241e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3131, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.916/6.229, allocations: 2.192 GB / 3.077 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/6.229, allocations: 83.95 kB / 3.077 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1927/6.422, allocations: 91.48 MB / 3.166 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.716e-06/6.422, allocations: 0 / 3.166 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.306e-05/6.422, allocations: 32 kB / 3.166 GB, free: 123.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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002427/6.425, allocations: 1.374 MB / 3.168 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/6.425, allocations: 8.031 kB / 3.168 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/6.426, allocations: 245.9 kB / 3.168 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/6.427, allocations: 0.7676 MB / 3.169 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/6.427, allocations: 44 kB / 3.169 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/6.427, allocations: 79.98 kB / 3.169 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001993/6.429, allocations: 1.34 MB / 3.17 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/6.431, allocations: 1.144 MB / 3.171 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/6.431, allocations: 3.938 kB / 3.171 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.871e-05/6.431, allocations: 7.953 kB / 3.171 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/6.431, allocations: 36 kB / 3.171 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005063/6.436, allocations: 3.369 MB / 3.174 GB, free: 115 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/6.437, allocations: 0.8523 MB / 3.175 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/6.438, allocations: 348.7 kB / 3.176 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/6.438, allocations: 45.25 kB / 3.176 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007354/6.439, allocations: 0.5304 MB / 3.176 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/6.439, allocations: 0 / 3.176 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.001904/6.441, allocations: 0.9155 MB / 3.177 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/6.441, allocations: 248.6 kB / 3.177 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000755/6.442, allocations: 0.5976 MB / 3.178 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.035e-05/6.442, allocations: 33.7 kB / 3.178 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/6.442, allocations: 0.5542 MB / 3.179 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/6.442, allocations: 327 kB / 3.179 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/6.442, allocations: 0 / 3.179 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001372/6.442, allocations: 402.7 kB / 3.179 GB, free: 110 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/6.443, allocations: 298.6 kB / 3.179 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/6.443, allocations: 420.2 kB / 3.18 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/6.444, allocations: 370.5 kB / 3.18 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/6.444, allocations: 0 / 3.18 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00176/6.446, allocations: 0.9575 MB / 3.181 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/6.446, allocations: 8 kB / 3.181 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/6.446, allocations: 0 / 3.181 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006007/6.446, allocations: 84.78 kB / 3.181 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/6.447, allocations: 215.7 kB / 3.181 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/6.449, allocations: 1.473 MB / 3.183 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008771/6.45, allocations: 75.19 kB / 3.183 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/6.45, allocations: 47.95 kB / 3.183 GB, free: 105.9 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 (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.0002449/6.45, allocations: 116.8 kB / 3.183 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/6.45, allocations: 94.94 kB / 3.183 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/6.453, allocations: 1.292 MB / 3.184 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/6.453, allocations: 19.94 kB / 3.185 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/6.453, allocations: 0 / 3.185 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/6.453, allocations: 7.969 kB / 3.185 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003974/6.457, allocations: 2.331 MB / 3.187 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/6.457, allocations: 0 / 3.187 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008265/6.458, allocations: 191.8 kB / 3.187 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/6.459, allocations: 84.78 kB / 3.187 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/6.459, allocations: 19.97 kB / 3.187 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/6.46, allocations: 1.489 MB / 3.189 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/6.46, allocations: 0 / 3.189 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/6.462, allocations: 1.075 MB / 3.19 GB, free: 98.99 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/6.463, allocations: 351.3 kB / 3.19 GB, free: 98.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/6.463, allocations: 3.953 kB / 3.19 GB, free: 98.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008595/6.464, allocations: 51.95 kB / 3.19 GB, free: 98.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/6.464, allocations: 73.2 kB / 3.19 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/6.465, allocations: 39.97 kB / 3.19 GB, free: 98.46 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009405/6.466, allocations: 0.5108 MB / 3.191 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.9e-07/6.466, allocations: 3.938 kB / 3.191 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001784/6.467, allocations: 406.4 kB / 3.191 GB, free: 97.55 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 (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.002519/6.47, allocations: 1.045 MB / 3.192 GB, free: 96.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00192/6.472, allocations: 0.9061 MB / 3.193 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/6.472, allocations: 0 / 3.193 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009932/6.473, allocations: 0.5571 MB / 3.193 GB, free: 95.06 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/6.474, allocations: 232.7 kB / 3.194 GB, free: 94.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/6.48, allocations: 1.767 MB / 3.195 GB, free: 93.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/6.481, allocations: 1.189 MB / 3.197 GB, free: 91.83 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001398/6.482, allocations: 295.6 kB / 3.197 GB, free: 91.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/6.483, allocations: 119.4 kB / 3.197 GB, free: 91.42 MB / 0.8698 GB Notification: Performance of SimCode: time 1.463e-06/6.483, allocations: 0 / 3.197 GB, free: 91.42 MB / 0.8698 GB Notification: Performance of Templates: time 0.03807/6.521, allocations: 18.54 MB / 3.215 GB, free: 72.95 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches