Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 183.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008615/0.0008618, allocations: 93.62 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 13.75 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2341, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.144/5.378, allocations: 2.19 GB / 3.09 GB, free: 29.98 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/5.379, allocations: 96.73 kB / 3.09 GB, free: 29.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6661/6.045, allocations: 58.91 MB / 3.147 GB, free: 312 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.254e-06/6.045, allocations: 0 / 3.147 GB, free: 312 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.101e-05/6.045, allocations: 27.38 kB / 3.148 GB, free: 312 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002123/6.047, allocations: 1.142 MB / 3.149 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/6.047, allocations: 9.344 kB / 3.149 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008236/6.048, allocations: 184.7 kB / 3.149 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/6.049, allocations: 0.6109 MB / 3.149 GB, free: 311 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/6.049, allocations: 61.72 kB / 3.149 GB, free: 311 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/6.049, allocations: 72.56 kB / 3.15 GB, free: 311 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/6.05, allocations: 0.8444 MB / 3.15 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/6.05, allocations: 9.359 kB / 3.15 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.235e-05/6.05, allocations: 29.88 kB / 3.15 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/6.051, allocations: 19.19 kB / 3.15 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/6.052, allocations: 1.071 MB / 3.151 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/6.056, allocations: 2.365 MB / 3.154 GB, free: 310 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/6.057, allocations: 0.7971 MB / 3.155 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.688e-05/6.057, allocations: 31 kB / 3.155 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006688/6.058, allocations: 426.5 kB / 3.155 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 3.116e-06/6.058, allocations: 0 / 3.155 GB, free: 309.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72): time 0.002796/6.06, allocations: 1.094 MB / 3.156 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/6.06, allocations: 249 kB / 3.156 GB, free: 309.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/6.061, allocations: 0.5632 MB / 3.157 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/6.061, allocations: 44.39 kB / 3.157 GB, free: 309.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/6.061, allocations: 362.1 kB / 3.157 GB, free: 309 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/6.062, allocations: 234.6 kB / 3.157 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/6.062, allocations: 14.44 kB / 3.157 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001159/6.062, allocations: 379 kB / 3.158 GB, free: 308.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/6.062, allocations: 222.8 kB / 3.158 GB, free: 308.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/6.063, allocations: 323.7 kB / 3.158 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/6.063, allocations: 259.4 kB / 3.159 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/6.063, allocations: 3.906 kB / 3.159 GB, free: 308.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001462/6.065, allocations: 0.7136 MB / 3.159 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/6.065, allocations: 16.47 kB / 3.159 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/6.065, allocations: 3.938 kB / 3.159 GB, free: 308.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/6.065, allocations: 88.12 kB / 3.159 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/6.066, allocations: 141.6 kB / 3.16 GB, free: 308.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/6.068, allocations: 1.528 MB / 3.161 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/6.068, allocations: 81.03 kB / 3.161 GB, free: 307 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/6.068, allocations: 26.81 kB / 3.161 GB, free: 307 MB / 0.8855 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.0004444/6.069, allocations: 247.7 kB / 3.161 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/6.069, allocations: 72.12 kB / 3.161 GB, free: 306.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/6.071, allocations: 1.029 MB / 3.162 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/6.071, allocations: 7.938 kB / 3.162 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/6.071, allocations: 0 / 3.162 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/6.071, allocations: 7.844 kB / 3.162 GB, free: 306.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/6.074, allocations: 1.906 MB / 3.164 GB, free: 306.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/6.074, allocations: 4 kB / 3.164 GB, free: 306.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/6.074, allocations: 149 kB / 3.164 GB, free: 306.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/6.075, allocations: 85.31 kB / 3.165 GB, free: 306.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/6.075, allocations: 23.05 kB / 3.165 GB, free: 306.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/6.076, allocations: 1.557 MB / 3.166 GB, free: 305 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/6.076, allocations: 0 / 3.166 GB, free: 305 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/6.078, allocations: 0.9218 MB / 3.167 GB, free: 304.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/6.079, allocations: 281.6 kB / 3.167 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/6.079, allocations: 17.66 kB / 3.167 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005363/6.079, allocations: 70.58 kB / 3.167 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/6.079, allocations: 61.48 kB / 3.167 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/6.079, allocations: 31.94 kB / 3.167 GB, free: 304.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005839/6.08, allocations: 472 kB / 3.168 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/6.08, allocations: 0 / 3.168 GB, free: 304.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001076/6.081, allocations: 334.5 kB / 3.168 GB, free: 304.5 MB / 0.8855 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.001814/6.083, allocations: 1.027 MB / 3.169 GB, free: 304.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001354/6.084, allocations: 0.7229 MB / 3.17 GB, free: 304 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/6.084, allocations: 0 / 3.17 GB, free: 304 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007183/6.085, allocations: 498.9 kB / 3.17 GB, free: 303.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/6.086, allocations: 237.1 kB / 3.171 GB, free: 303.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/6.09, allocations: 2.07 MB / 3.173 GB, free: 302.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/6.09, allocations: 1.021 MB / 3.174 GB, free: 301.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008066/6.091, allocations: 259.1 kB / 3.174 GB, free: 301.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/6.091, allocations: 93.69 kB / 3.174 GB, free: 301.8 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/6.091, allocations: 0 / 3.174 GB, free: 301.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.02741/6.119, allocations: 19.89 MB / 3.193 GB, free: 287.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches