Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001043/0.001043, allocations: 189 kB / 498.1 MB, free: 5.789 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.697/1.697, allocations: 223.2 MB / 0.7949 GB, free: 18.9 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.0009935/0.0009936, allocations: 102.5 kB / 0.9346 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004066, allocations: 10.38 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3746, allocations: 142.3 MB / 1.223 GB, free: 89.67 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.537/4.912, allocations: 1.731 GB / 2.954 GB, free: 254.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/4.912, allocations: 95.95 kB / 2.954 GB, free: 254.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1296/5.042, allocations: 59.52 MB / 3.012 GB, free: 194.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.196e-06/5.042, allocations: 4 kB / 3.012 GB, free: 194.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001282/5.042, allocations: 16 kB / 3.012 GB, free: 194.4 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.003026/5.045, allocations: 1.191 MB / 3.013 GB, free: 193.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/5.045, allocations: 8.031 kB / 3.013 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/5.046, allocations: 190.5 kB / 3.013 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/5.048, allocations: 0.6114 MB / 3.014 GB, free: 192.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/5.048, allocations: 58 kB / 3.014 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/5.048, allocations: 79.98 kB / 3.014 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/5.05, allocations: 0.8599 MB / 3.015 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/5.05, allocations: 7.922 kB / 3.015 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/5.05, allocations: 35.95 kB / 3.015 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/5.05, allocations: 20 kB / 3.015 GB, free: 191.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/5.051, allocations: 1.069 MB / 3.016 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/5.055, allocations: 2.399 MB / 3.018 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/5.057, allocations: 0.8046 MB / 3.019 GB, free: 186.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-05/5.057, allocations: 41.56 kB / 3.019 GB, free: 186.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006665/5.057, allocations: 423.2 kB / 3.019 GB, free: 186.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=72): time 4.088e-06/5.057, allocations: 0 / 3.019 GB, free: 186.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=72): time 0.002895/5.06, allocations: 1.101 MB / 3.02 GB, free: 185.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/5.06, allocations: 240 kB / 3.021 GB, free: 184.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/5.061, allocations: 0.5854 MB / 3.021 GB, free: 184.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/5.061, allocations: 37.7 kB / 3.021 GB, free: 184.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/5.062, allocations: 376.3 kB / 3.022 GB, free: 183.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/5.062, allocations: 240.5 kB / 3.022 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/5.062, allocations: 11.94 kB / 3.022 GB, free: 183.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001111/5.062, allocations: 382.8 kB / 3.022 GB, free: 183.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/5.062, allocations: 213.2 kB / 3.022 GB, free: 183.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/5.063, allocations: 331.6 kB / 3.023 GB, free: 182.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/5.063, allocations: 259.1 kB / 3.023 GB, free: 182.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/5.063, allocations: 0 / 3.023 GB, free: 182.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0016/5.065, allocations: 0.7198 MB / 3.024 GB, free: 181.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/5.065, allocations: 8 kB / 3.024 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/5.065, allocations: 0 / 3.024 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00063/5.066, allocations: 88.77 kB / 3.024 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/5.066, allocations: 135.8 kB / 3.024 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/5.068, allocations: 1.528 MB / 3.025 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/5.069, allocations: 83.34 kB / 3.026 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/5.069, allocations: 27.97 kB / 3.026 GB, free: 179.7 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 (74): * Single equations (assignments): 73 * 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.0005101/5.069, allocations: 254.8 kB / 3.026 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/5.069, allocations: 75.06 kB / 3.026 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/5.072, allocations: 1.021 MB / 3.027 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/5.072, allocations: 8 kB / 3.027 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/5.072, allocations: 4 kB / 3.027 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/5.072, allocations: 7.938 kB / 3.027 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003139/5.075, allocations: 1.908 MB / 3.029 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/5.075, allocations: 0 / 3.029 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/5.075, allocations: 147.7 kB / 3.029 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/5.076, allocations: 80.78 kB / 3.029 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/5.076, allocations: 23.98 kB / 3.029 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/5.078, allocations: 1.567 MB / 3.03 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/5.078, allocations: 0 / 3.03 GB, free: 174.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/5.079, allocations: 0.918 MB / 3.031 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/5.08, allocations: 283.7 kB / 3.032 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/5.08, allocations: 20 kB / 3.032 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/5.081, allocations: 67.94 kB / 3.032 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/5.081, allocations: 60.91 kB / 3.032 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/5.081, allocations: 35.88 kB / 3.032 GB, free: 173 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006637/5.081, allocations: 491 kB / 3.032 GB, free: 172.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.81e-07/5.081, allocations: 0 / 3.032 GB, free: 172.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001321/5.083, allocations: 351.3 kB / 3.033 GB, free: 172.2 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 (86): * Single equations (assignments): 83 * 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.002325/5.085, allocations: 1.072 MB / 3.034 GB, free: 171.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001477/5.087, allocations: 0.7239 MB / 3.034 GB, free: 170.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/5.087, allocations: 4 kB / 3.034 GB, free: 170.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008586/5.087, allocations: 496.3 kB / 3.035 GB, free: 170.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/5.089, allocations: 234.8 kB / 3.035 GB, free: 169.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/5.093, allocations: 2.075 MB / 3.037 GB, free: 167.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004875/5.093, allocations: 1.015 MB / 3.038 GB, free: 166.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008842/5.094, allocations: 254.1 kB / 3.038 GB, free: 166.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/5.094, allocations: 99.38 kB / 3.038 GB, free: 166.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.273e-06/5.094, allocations: 0 / 3.038 GB, free: 166.4 MB / 1.167 GB Notification: Performance of Templates: time 0.03069/5.125, allocations: 20.26 MB / 3.058 GB, free: 146.2 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches