Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 99.55 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.001345/0.001345, allocations: 177.3 kB / 15.94 MB, free: 228 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.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.567/2.567, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8 kB / 0.8707 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7324, allocations: 153.7 MB / 1.021 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004448/0.7369, allocations: 3.752 MB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.8935, allocations: 127.7 MB / 1.149 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007627/0.8943, allocations: 15.94 kB / 1.149 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.8947, allocations: 75.28 kB / 1.149 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.8962, allocations: 0.5161 MB / 1.15 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.8979, allocations: 0.6304 MB / 1.15 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.8993, allocations: 0.8571 MB / 1.151 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.9, allocations: 487.3 kB / 1.152 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.9006, allocations: 362.5 kB / 1.152 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004774/0.9011, allocations: 370.1 kB / 1.152 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.9012, allocations: 32 kB / 1.152 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007983/0.902, allocations: 307.7 kB / 1.153 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.9022, allocations: 191.2 kB / 1.153 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.9024, allocations: 201.1 kB / 1.153 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.9037, allocations: 1.192 MB / 1.154 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9037, allocations: 0 / 1.154 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9037, allocations: 0 / 1.154 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.9038, allocations: 0 / 1.154 GB, free: 8.191 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002521/0.9063, allocations: 1.265 MB / 1.155 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.9063, allocations: 11.98 kB / 1.155 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009098/0.9073, allocations: 198.4 kB / 1.156 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.9084, allocations: 0.7311 MB / 1.156 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.9084, allocations: 69.98 kB / 1.156 GB, free: 5.824 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.9085, allocations: 83.94 kB / 1.157 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.9101, allocations: 0.9574 MB / 1.157 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.9101, allocations: 7.938 kB / 1.157 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.9102, allocations: 39.98 kB / 1.158 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.9103, allocations: 20 kB / 1.158 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.912, allocations: 1.159 MB / 1.159 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.9163, allocations: 2.705 MB / 1.161 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.9179, allocations: 0.8643 MB / 1.162 GB, free: 15.89 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-05/0.918, allocations: 32.67 kB / 1.162 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009509/0.919, allocations: 0.5314 MB / 1.163 GB, free: 15.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=88): time 2.425e-06/0.919, allocations: 0 / 1.163 GB, free: 15.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=88): time 0.003172/0.9222, allocations: 1.291 MB / 1.164 GB, free: 13.99 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.9223, allocations: 192.9 kB / 1.164 GB, free: 13.76 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/0.9232, allocations: 0.6488 MB / 1.165 GB, free: 13.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.545e-05/0.9233, allocations: 45.7 kB / 1.165 GB, free: 13.05 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.9236, allocations: 412.3 kB / 1.165 GB, free: 12.64 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.9239, allocations: 284 kB / 1.165 GB, free: 12.36 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.9239, allocations: 16 kB / 1.166 GB, free: 12.34 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.9241, allocations: 390.7 kB / 1.166 GB, free: 11.95 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.9247, allocations: 273.9 kB / 1.166 GB, free: 11.68 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.9253, allocations: 386.5 kB / 1.167 GB, free: 11.28 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.9259, allocations: 318.9 kB / 1.167 GB, free: 10.97 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9259, allocations: 0 / 1.167 GB, free: 10.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001906/0.9278, allocations: 0.8721 MB / 1.168 GB, free: 10.09 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.9278, allocations: 8 kB / 1.168 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.9278, allocations: 0 / 1.168 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/0.9284, allocations: 80.84 kB / 1.168 GB, free: 9.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.9292, allocations: 179.7 kB / 1.168 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.9312, allocations: 1.536 MB / 1.169 GB, free: 8.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/0.9321, allocations: 105.6 kB / 1.17 GB, free: 8.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.9321, allocations: 31.97 kB / 1.17 GB, free: 8.008 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0005849/0.9327, allocations: 282.4 kB / 1.17 GB, free: 7.723 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.9329, allocations: 86.88 kB / 1.17 GB, free: 7.637 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.9354, allocations: 1.183 MB / 1.171 GB, free: 6.441 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.9354, allocations: 12 kB / 1.171 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.9354, allocations: 0 / 1.171 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.9354, allocations: 7.938 kB / 1.171 GB, free: 6.422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.9365, allocations: 0.9347 MB / 1.172 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9366, allocations: 0 / 1.172 GB, free: 5.438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.9372, allocations: 163.8 kB / 1.172 GB, free: 5.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/0.9377, allocations: 80.78 kB / 1.172 GB, free: 5.195 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.9378, allocations: 31.97 kB / 1.172 GB, free: 5.164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.9396, allocations: 1.555 MB / 1.174 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9396, allocations: 3.953 kB / 1.174 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.9425, allocations: 0.9942 MB / 1.175 GB, free: 2.449 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006854/0.9433, allocations: 311.4 kB / 1.175 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.9434, allocations: 19.95 kB / 1.175 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009825/0.9444, allocations: 91.92 kB / 1.175 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.9447, allocations: 72.89 kB / 1.175 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.9448, allocations: 39.97 kB / 1.175 GB, free: 1.902 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008285/0.9457, allocations: 482.9 kB / 1.176 GB, free: 1.434 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9457, allocations: 4 kB / 1.176 GB, free: 1.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008876/0.9466, allocations: 315.3 kB / 1.176 GB, free: 1.121 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001295/0.9479, allocations: 0.5978 MB / 1.177 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.9495, allocations: 0.8625 MB / 1.177 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.9496, allocations: 4 kB / 1.177 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008996/0.9505, allocations: 0.5471 MB / 1.178 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.9515, allocations: 247.1 kB / 1.178 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.9558, allocations: 2.268 MB / 1.18 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/0.9564, allocations: 1.063 MB / 1.181 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009243/0.9574, allocations: 271.1 kB / 1.182 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.9576, allocations: 111.4 kB / 1.182 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of SimCode: time 7.32e-07/0.9576, allocations: 0 / 1.182 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of Templates: time 0.02836/0.986, allocations: 14.31 MB / 1.196 GB, free: 13.1 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches