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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009017/0.0009017, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009051/0.0009051, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.519/2.519, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003714, allocations: 15.98 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7757, allocations: 153.7 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005795/0.7815, allocations: 4.563 MB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.9422, allocations: 128.1 MB / 1.15 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.9434, allocations: 23.81 kB / 1.15 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.9442, allocations: 95.11 kB / 1.15 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.947, allocations: 0.6476 MB / 1.151 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.9493, allocations: 0.7272 MB / 1.152 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002445/0.9518, allocations: 1.153 MB / 1.153 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.9532, allocations: 0.8476 MB / 1.154 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.9543, allocations: 0.5562 MB / 1.154 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.9553, allocations: 0.5634 MB / 1.155 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.9556, allocations: 40 kB / 1.155 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.9567, allocations: 323.6 kB / 1.155 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.9571, allocations: 274.8 kB / 1.155 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.9575, allocations: 292.8 kB / 1.156 GB, free: 6.613 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.9596, allocations: 1.808 MB / 1.157 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.9596, allocations: 0 / 1.157 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9596, allocations: 0 / 1.157 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.995e-05/0.9597, allocations: 0 / 1.157 GB, free: 4.801 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003884/0.9636, allocations: 1.7 MB / 1.159 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.9636, allocations: 8.031 kB / 1.159 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.9646, allocations: 269.5 kB / 1.159 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.9661, allocations: 0.9343 MB / 1.16 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.9662, allocations: 115.1 kB / 1.16 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.9664, allocations: 151.9 kB / 1.161 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.9689, allocations: 1.564 MB / 1.162 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.969, allocations: 4 kB / 1.162 GB, free: 15.9 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.9691, allocations: 60 kB / 1.162 GB, free: 15.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.9691, allocations: 40 kB / 1.162 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.9717, allocations: 1.635 MB / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006697/0.9784, allocations: 4.177 MB / 1.168 GB, free: 9.906 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.9805, allocations: 1.186 MB / 1.169 GB, free: 8.715 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.815e-05/0.9806, allocations: 53.06 kB / 1.169 GB, free: 8.664 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/0.9819, allocations: 0.7748 MB / 1.17 GB, free: 7.871 MB / 0.92 GB Notification: Performance of pre-optimization done (n=128): time 2.855e-06/0.9819, allocations: 3.938 kB / 1.17 GB, free: 7.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=128): time 0.004105/0.986, allocations: 1.843 MB / 1.172 GB, free: 6 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.9861, allocations: 197.2 kB / 1.172 GB, free: 5.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.9873, allocations: 0.8576 MB / 1.173 GB, free: 4.879 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.545e-05/0.9874, allocations: 53.7 kB / 1.173 GB, free: 4.82 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.9879, allocations: 0.6092 MB / 1.173 GB, free: 4.199 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.9882, allocations: 410.1 kB / 1.174 GB, free: 3.793 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.9883, allocations: 24 kB / 1.174 GB, free: 3.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.9884, allocations: 353.9 kB / 1.174 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007652/0.9892, allocations: 426.4 kB / 1.174 GB, free: 3.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008657/0.9901, allocations: 0.5526 MB / 1.175 GB, free: 2.422 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.991, allocations: 486.3 kB / 1.175 GB, free: 1.949 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.991, allocations: 4 kB / 1.175 GB, free: 1.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002558/0.9935, allocations: 1.285 MB / 1.177 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9936, allocations: 4 kB / 1.177 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9936, allocations: 0 / 1.177 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.9942, allocations: 88.83 kB / 1.177 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.9952, allocations: 251.6 kB / 1.177 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.9973, allocations: 1.559 MB / 1.179 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.9983, allocations: 160.4 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.132e-05/0.9984, allocations: 51.95 kB / 1.179 GB, free: 14.4 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0006623/0.9991, allocations: 348.5 kB / 1.179 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.9993, allocations: 122.6 kB / 1.179 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/1.003, allocations: 1.732 MB / 1.181 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/1.003, allocations: 16 kB / 1.181 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.003, allocations: 3.953 kB / 1.181 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/1.003, allocations: 7.969 kB / 1.181 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/1.004, allocations: 1.397 MB / 1.182 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.004, allocations: 0 / 1.182 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008893/1.005, allocations: 223.7 kB / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004971/1.006, allocations: 84.78 kB / 1.183 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/1.006, allocations: 35.95 kB / 1.183 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/1.008, allocations: 1.583 MB / 1.184 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.008, allocations: 3.938 kB / 1.184 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/1.01, allocations: 1.402 MB / 1.186 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/1.011, allocations: 414.8 kB / 1.186 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/1.011, allocations: 28 kB / 1.186 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008914/1.012, allocations: 111.9 kB / 1.186 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/1.012, allocations: 113.1 kB / 1.186 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.012, allocations: 55.95 kB / 1.186 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008946/1.013, allocations: 0.6386 MB / 1.187 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/1.013, allocations: 0 / 1.187 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001257/1.015, allocations: 458.5 kB / 1.187 GB, free: 5.391 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001379/1.016, allocations: 0.6278 MB / 1.188 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002229/1.018, allocations: 1.228 MB / 1.189 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.018, allocations: 0 / 1.189 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/1.02, allocations: 0.7402 MB / 1.19 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.021, allocations: 260.8 kB / 1.19 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/1.026, allocations: 3.319 MB / 1.193 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008441/1.027, allocations: 1.272 MB / 1.195 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001093/1.028, allocations: 325.9 kB / 1.195 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/1.029, allocations: 159.3 kB / 1.195 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of SimCode: time 9.22e-07/1.029, allocations: 0 / 1.195 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of Templates: time 0.03231/1.061, allocations: 19.03 MB / 1.214 GB, free: 10.7 MB / 0.9669 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