Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001279/0.001279, allocations: 176.9 kB / 487.4 MB, free: 5.035 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.662/1.662, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009917, allocations: 99.83 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.735e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.368, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.307/5.676, allocations: 1.731 GB / 2.937 GB, free: 164.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/5.676, allocations: 97.69 kB / 2.937 GB, free: 164.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1286/5.805, allocations: 58.88 MB / 2.995 GB, free: 105.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.733e-06/5.805, allocations: 4 kB / 2.995 GB, free: 105.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.792e-05/5.805, allocations: 24 kB / 2.995 GB, free: 105.3 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002184/5.807, allocations: 1.075 MB / 2.996 GB, free: 104.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/5.807, allocations: 12.03 kB / 2.996 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/5.808, allocations: 186.5 kB / 2.996 GB, free: 104 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/5.809, allocations: 0.6114 MB / 2.997 GB, free: 103.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/5.809, allocations: 28 kB / 2.997 GB, free: 103.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/5.809, allocations: 44 kB / 2.997 GB, free: 103.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001379/5.811, allocations: 1.015 MB / 2.998 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/5.812, allocations: 0.7428 MB / 2.998 GB, free: 101.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/5.812, allocations: 0 / 2.998 GB, free: 101.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/5.812, allocations: 7.953 kB / 2.998 GB, free: 101.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/5.812, allocations: 20 kB / 2.998 GB, free: 101.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/5.815, allocations: 2.384 MB / 3.001 GB, free: 98.97 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009124/5.816, allocations: 0.6671 MB / 3.001 GB, free: 98.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/5.817, allocations: 248.1 kB / 3.002 GB, free: 98.04 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.392e-05/5.817, allocations: 40.72 kB / 3.002 GB, free: 98 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005342/5.817, allocations: 403.8 kB / 3.002 GB, free: 97.59 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 3.055e-06/5.817, allocations: 0 / 3.002 GB, free: 97.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001474/5.819, allocations: 0.668 MB / 3.003 GB, free: 96.91 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/5.819, allocations: 244.1 kB / 3.003 GB, free: 96.62 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006148/5.82, allocations: 0.5022 MB / 3.003 GB, free: 96.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/5.82, allocations: 25.7 kB / 3.003 GB, free: 96.08 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/5.82, allocations: 384.1 kB / 3.004 GB, free: 95.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/5.82, allocations: 248.3 kB / 3.004 GB, free: 95.45 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/5.82, allocations: 4 kB / 3.004 GB, free: 95.45 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/5.82, allocations: 370.8 kB / 3.004 GB, free: 95.08 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/5.82, allocations: 197.5 kB / 3.005 GB, free: 94.88 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/5.821, allocations: 299.5 kB / 3.005 GB, free: 94.56 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/5.821, allocations: 252.4 kB / 3.005 GB, free: 94.32 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.821, allocations: 0 / 3.005 GB, free: 94.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001314/5.822, allocations: 0.672 MB / 3.006 GB, free: 93.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/5.822, allocations: 8 kB / 3.006 GB, free: 93.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/5.823, allocations: 0 / 3.006 GB, free: 93.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/5.823, allocations: 84.83 kB / 3.006 GB, free: 93.54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/5.824, allocations: 147.8 kB / 3.006 GB, free: 93.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/5.825, allocations: 1.454 MB / 3.007 GB, free: 91.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/5.826, allocations: 59.48 kB / 3.007 GB, free: 91.75 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/5.826, allocations: 27.98 kB / 3.007 GB, free: 91.73 MB / 1.151 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.0001936/5.826, allocations: 126.3 kB / 3.008 GB, free: 91.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/5.826, allocations: 75.05 kB / 3.008 GB, free: 91.52 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/5.828, allocations: 0.9346 MB / 3.009 GB, free: 90.57 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/5.828, allocations: 8 kB / 3.009 GB, free: 90.57 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/5.828, allocations: 0 / 3.009 GB, free: 90.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/5.828, allocations: 7.984 kB / 3.009 GB, free: 90.56 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/5.831, allocations: 1.721 MB / 3.01 GB, free: 88.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/5.831, allocations: 0 / 3.01 GB, free: 88.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/5.831, allocations: 155.8 kB / 3.01 GB, free: 88.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/5.832, allocations: 80.78 kB / 3.01 GB, free: 88.55 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/5.832, allocations: 15.98 kB / 3.01 GB, free: 88.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/5.833, allocations: 1.488 MB / 3.012 GB, free: 86.93 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/5.833, allocations: 0 / 3.012 GB, free: 86.93 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/5.835, allocations: 0.8376 MB / 3.013 GB, free: 86.07 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004008/5.835, allocations: 283.8 kB / 3.013 GB, free: 85.77 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/5.835, allocations: 4 kB / 3.013 GB, free: 85.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/5.836, allocations: 47.95 kB / 3.013 GB, free: 85.72 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/5.836, allocations: 60.69 kB / 3.013 GB, free: 85.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/5.836, allocations: 31.98 kB / 3.013 GB, free: 85.63 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004774/5.837, allocations: 414.9 kB / 3.014 GB, free: 85.23 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.837, allocations: 0 / 3.014 GB, free: 85.23 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001139/5.838, allocations: 331.1 kB / 3.014 GB, free: 84.91 MB / 1.151 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.002167/5.84, allocations: 1.088 MB / 3.015 GB, free: 83.93 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001217/5.841, allocations: 0.6633 MB / 3.016 GB, free: 83.26 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/5.841, allocations: 0 / 3.016 GB, free: 83.26 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006596/5.842, allocations: 464.5 kB / 3.016 GB, free: 82.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/5.843, allocations: 220.3 kB / 3.016 GB, free: 82.59 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/5.846, allocations: 1.303 MB / 3.017 GB, free: 81.25 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/5.847, allocations: 1.027 MB / 3.018 GB, free: 80.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008449/5.848, allocations: 257.9 kB / 3.019 GB, free: 79.94 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/5.848, allocations: 95.39 kB / 3.019 GB, free: 79.85 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/5.848, allocations: 0 / 3.019 GB, free: 79.85 MB / 1.151 GB Notification: Performance of Templates: time 0.02597/5.874, allocations: 15.75 MB / 3.034 GB, free: 64.23 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches