Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.543/2.543, allocations: 393.5 MB / 408.4 MB, free: 11 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.001499/0.001498, allocations: 176 kB / 0.4902 GB, free: 2.246 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.761/1.761, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.001105/0.001105, allocations: 103.1 kB / 0.9396 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004023, allocations: 7.125 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.448/4.782, allocations: 1.731 GB / 2.961 GB, free: 219 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/4.782, allocations: 94.58 kB / 2.961 GB, free: 218.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.13/4.912, allocations: 59.52 MB / 3.019 GB, free: 168.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.017e-06/4.912, allocations: 8 kB / 3.019 GB, free: 168.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001306/4.912, allocations: 23.98 kB / 3.019 GB, free: 168.5 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.003158/4.915, allocations: 1.174 MB / 3.02 GB, free: 167.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/4.915, allocations: 8.562 kB / 3.02 GB, free: 167.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/4.917, allocations: 190.1 kB / 3.02 GB, free: 167.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/4.918, allocations: 0.6073 MB / 3.021 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/4.918, allocations: 58.69 kB / 3.021 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/4.918, allocations: 80.67 kB / 3.021 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/4.92, allocations: 0.8601 MB / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/4.92, allocations: 0 / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/4.92, allocations: 41.81 kB / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/4.92, allocations: 20 kB / 3.022 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/4.922, allocations: 1.067 MB / 3.023 GB, free: 165 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/4.926, allocations: 2.416 MB / 3.025 GB, free: 163.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/4.927, allocations: 0.8057 MB / 3.026 GB, free: 162.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.438e-05/4.927, allocations: 28.95 kB / 3.026 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006976/4.928, allocations: 429.7 kB / 3.026 GB, free: 162.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=72): time 3.517e-06/4.928, allocations: 0 / 3.026 GB, free: 162.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=72): time 0.002784/4.93, allocations: 1.103 MB / 3.028 GB, free: 161.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/4.931, allocations: 240 kB / 3.028 GB, free: 160.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008671/4.931, allocations: 0.584 MB / 3.028 GB, free: 160.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/4.932, allocations: 40.77 kB / 3.028 GB, free: 160.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/4.932, allocations: 368.3 kB / 3.029 GB, free: 160.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/4.932, allocations: 245.5 kB / 3.029 GB, free: 160 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/4.932, allocations: 7.625 kB / 3.029 GB, free: 160 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001106/4.932, allocations: 380.5 kB / 3.029 GB, free: 159.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/4.933, allocations: 215.1 kB / 3.03 GB, free: 159.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/4.933, allocations: 328.1 kB / 3.03 GB, free: 159.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/4.933, allocations: 265.6 kB / 3.03 GB, free: 159.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/4.933, allocations: 0 / 3.03 GB, free: 159.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00158/4.935, allocations: 0.7146 MB / 3.031 GB, free: 158.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/4.935, allocations: 10.19 kB / 3.031 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/4.935, allocations: 0 / 3.031 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/4.936, allocations: 87.2 kB / 3.031 GB, free: 158.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/4.936, allocations: 135.2 kB / 3.031 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/4.938, allocations: 1.546 MB / 3.033 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/4.939, allocations: 86.47 kB / 3.033 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/4.939, allocations: 27.66 kB / 3.033 GB, free: 156.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.0005106/4.94, allocations: 248.5 kB / 3.033 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/4.94, allocations: 79 kB / 3.033 GB, free: 156.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/4.942, allocations: 1.016 MB / 3.034 GB, free: 155.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/4.942, allocations: 8 kB / 3.034 GB, free: 155.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/4.942, allocations: 0 / 3.034 GB, free: 155.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/4.942, allocations: 7.938 kB / 3.034 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/4.945, allocations: 1.908 MB / 3.036 GB, free: 154.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/4.945, allocations: 0 / 3.036 GB, free: 154.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/4.946, allocations: 147.5 kB / 3.036 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/4.946, allocations: 83.22 kB / 3.036 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/4.946, allocations: 23.42 kB / 3.036 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/4.948, allocations: 1.562 MB / 3.038 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/4.948, allocations: 0 / 3.038 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/4.95, allocations: 0.9196 MB / 3.039 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/4.95, allocations: 280.5 kB / 3.039 GB, free: 151.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/4.95, allocations: 26.31 kB / 3.039 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/4.951, allocations: 66.5 kB / 3.039 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/4.951, allocations: 60.16 kB / 3.039 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.545e-05/4.951, allocations: 39 kB / 3.039 GB, free: 151.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00074/4.952, allocations: 481.7 kB / 3.039 GB, free: 151 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.31e-07/4.952, allocations: 0 / 3.039 GB, free: 151 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001354/4.953, allocations: 350.3 kB / 3.04 GB, free: 150.7 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.002479/4.956, allocations: 1.066 MB / 3.041 GB, free: 149.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001578/4.957, allocations: 0.7247 MB / 3.042 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/4.957, allocations: 0 / 3.042 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008386/4.958, allocations: 498.7 kB / 3.042 GB, free: 148.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/4.96, allocations: 237.9 kB / 3.042 GB, free: 148.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/4.964, allocations: 2.074 MB / 3.044 GB, free: 146.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/4.964, allocations: 1.019 MB / 3.045 GB, free: 145.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008781/4.965, allocations: 250.1 kB / 3.045 GB, free: 145.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/4.966, allocations: 106.8 kB / 3.046 GB, free: 145.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/4.966, allocations: 0 / 3.046 GB, free: 145.4 MB / 1.167 GB Notification: Performance of Templates: time 0.03013/4.996, allocations: 20.27 MB / 3.065 GB, free: 125.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches