Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001352/0.001352, allocations: 183.3 kB / 498.1 MB, free: 5.688 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.633/1.633, allocations: 223.2 MB / 0.7949 GB, free: 17.91 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.000949/0.000949, allocations: 97.72 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 8.344 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.226/4.552, allocations: 1.731 GB / 2.954 GB, free: 253.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/4.553, allocations: 101.8 kB / 2.954 GB, free: 253.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1395/4.692, allocations: 68.68 MB / 3.021 GB, free: 194.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.476e-06/4.692, allocations: 0 / 3.021 GB, free: 194.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001024/4.692, allocations: 24 kB / 3.021 GB, free: 194.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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002704/4.695, allocations: 1.221 MB / 3.022 GB, free: 193 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/4.695, allocations: 8.031 kB / 3.022 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/4.696, allocations: 221.7 kB / 3.023 GB, free: 192.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/4.698, allocations: 0.6261 MB / 3.023 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/4.698, allocations: 66.31 kB / 3.023 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/4.698, allocations: 88.44 kB / 3.023 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/4.699, allocations: 0.939 MB / 3.024 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/4.699, allocations: 0 / 3.024 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/4.699, allocations: 46 kB / 3.024 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/4.699, allocations: 24 kB / 3.024 GB, free: 191.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/4.701, allocations: 1.128 MB / 3.025 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/4.705, allocations: 2.499 MB / 3.028 GB, free: 188.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/4.707, allocations: 0.8887 MB / 3.029 GB, free: 187.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.496e-05/4.707, allocations: 36.17 kB / 3.029 GB, free: 187.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006674/4.708, allocations: 448 kB / 3.029 GB, free: 187.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/4.708, allocations: 0 / 3.029 GB, free: 187.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.00286/4.711, allocations: 1.114 MB / 3.03 GB, free: 186.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/4.711, allocations: 240 kB / 3.031 GB, free: 186.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007901/4.711, allocations: 0.5959 MB / 3.031 GB, free: 185.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.258e-05/4.711, allocations: 41.08 kB / 3.031 GB, free: 185.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/4.712, allocations: 401.4 kB / 3.032 GB, free: 185.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/4.712, allocations: 252.6 kB / 3.032 GB, free: 185.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/4.712, allocations: 11.56 kB / 3.032 GB, free: 185.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001032/4.712, allocations: 383.4 kB / 3.032 GB, free: 184.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/4.713, allocations: 222 kB / 3.032 GB, free: 184.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/4.713, allocations: 334.3 kB / 3.033 GB, free: 184.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/4.714, allocations: 271 kB / 3.033 GB, free: 184.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/4.714, allocations: 0 / 3.033 GB, free: 184.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001638/4.715, allocations: 0.74 MB / 3.034 GB, free: 183.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/4.715, allocations: 10.03 kB / 3.034 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/4.715, allocations: 0 / 3.034 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006706/4.716, allocations: 83.78 kB / 3.034 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/4.717, allocations: 139.2 kB / 3.034 GB, free: 183.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/4.719, allocations: 1.526 MB / 3.035 GB, free: 182 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007148/4.719, allocations: 86.27 kB / 3.035 GB, free: 181.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/4.719, allocations: 23.86 kB / 3.035 GB, free: 181.9 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 (75): * Single equations (assignments): 74 * 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.0005827/4.72, allocations: 263.3 kB / 3.036 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/4.72, allocations: 75.39 kB / 3.036 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/4.722, allocations: 1.017 MB / 3.037 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/4.722, allocations: 15.94 kB / 3.037 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/4.722, allocations: 0 / 3.037 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/4.722, allocations: 3.984 kB / 3.037 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/4.726, allocations: 1.938 MB / 3.039 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/4.726, allocations: 0 / 3.039 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/4.726, allocations: 153.8 kB / 3.039 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/4.727, allocations: 79.84 kB / 3.039 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/4.727, allocations: 23.8 kB / 3.039 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/4.728, allocations: 1.573 MB / 3.04 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/4.729, allocations: 0 / 3.04 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/4.73, allocations: 0.9349 MB / 3.041 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/4.731, allocations: 283.7 kB / 3.042 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/4.731, allocations: 15.88 kB / 3.042 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006326/4.732, allocations: 79.95 kB / 3.042 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/4.732, allocations: 55.55 kB / 3.042 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/4.732, allocations: 34.53 kB / 3.042 GB, free: 176.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006401/4.732, allocations: 490.6 kB / 3.042 GB, free: 176.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/4.732, allocations: 0 / 3.042 GB, free: 176.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001173/4.734, allocations: 370 kB / 3.043 GB, free: 175.8 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 (85): * Single equations (assignments): 82 * 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.002001/4.736, allocations: 1.066 MB / 3.044 GB, free: 175 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001533/4.737, allocations: 0.7384 MB / 3.044 GB, free: 174.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/4.737, allocations: 4.125 kB / 3.044 GB, free: 174.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008345/4.738, allocations: 0.4987 MB / 3.045 GB, free: 174 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/4.739, allocations: 231.2 kB / 3.045 GB, free: 173.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/4.744, allocations: 2.16 MB / 3.047 GB, free: 171.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/4.744, allocations: 1.043 MB / 3.048 GB, free: 170.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001089/4.745, allocations: 262.1 kB / 3.049 GB, free: 170.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/4.746, allocations: 107.3 kB / 3.049 GB, free: 170.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/4.746, allocations: 0 / 3.049 GB, free: 170.3 MB / 1.167 GB Notification: Performance of Templates: time 0.03052/4.776, allocations: 20.44 MB / 3.069 GB, free: 150 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches