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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 106.8 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 193.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 68.5 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2937, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00704/0.3007, allocations: 4.929 MB / 1.032 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.7041/1.005, allocations: 150.6 MB / 1.179 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/1.007, allocations: 15.16 kB / 1.179 GB, free: 6.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000792/1.007, allocations: 194.4 kB / 1.179 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002731/1.01, allocations: 0.5584 MB / 1.179 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/1.013, allocations: 0.8526 MB / 1.18 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002945/1.016, allocations: 1.425 MB / 1.182 GB, free: 4.867 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/1.017, allocations: 0.5883 MB / 1.182 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000889/1.018, allocations: 0.4963 MB / 1.183 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/1.019, allocations: 0.5212 MB / 1.183 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/1.019, allocations: 117.9 kB / 1.183 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/1.02, allocations: 492.6 kB / 1.184 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/1.021, allocations: 298.5 kB / 1.184 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005403/1.021, allocations: 0.5765 MB / 1.185 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/1.023, allocations: 1.656 MB / 1.186 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/1.023, allocations: 1.25 kB / 1.186 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.274e-06/1.023, allocations: 0 / 1.186 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.231e-05/1.023, allocations: 0 / 1.186 GB, free: 1.82 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002719/1.026, allocations: 1.467 MB / 1.188 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.026, allocations: 9 kB / 1.188 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/1.027, allocations: 194.2 kB / 1.188 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/1.028, allocations: 0.7702 MB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/1.028, allocations: 65.09 kB / 1.189 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.028, allocations: 84.19 kB / 1.189 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/1.03, allocations: 0.9371 MB / 1.19 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/1.03, allocations: 0 / 1.19 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/1.03, allocations: 37.59 kB / 1.19 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/1.03, allocations: 21.09 kB / 1.19 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.032, allocations: 1.131 MB / 1.191 GB, free: 14.7 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/1.036, allocations: 2.719 MB / 1.193 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/1.038, allocations: 0.9117 MB / 1.194 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/1.038, allocations: 312.1 kB / 1.195 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.81e-05/1.038, allocations: 32.38 kB / 1.195 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008743/1.039, allocations: 0.5134 MB / 1.195 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 5.009e-06/1.039, allocations: 7.984 kB / 1.195 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84): time 0.003307/1.043, allocations: 1.256 MB / 1.196 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.043, allocations: 194.4 kB / 1.197 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/1.044, allocations: 0.6409 MB / 1.197 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/1.044, allocations: 42.7 kB / 1.197 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/1.044, allocations: 397.2 kB / 1.198 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/1.044, allocations: 272.8 kB / 1.198 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/1.044, allocations: 170.5 kB / 1.198 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.045, allocations: 397.7 kB / 1.198 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/1.045, allocations: 280.4 kB / 1.199 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/1.046, allocations: 370.4 kB / 1.199 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/1.047, allocations: 0.6273 MB / 1.2 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.047, allocations: 0 / 1.2 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001951/1.049, allocations: 0.8775 MB / 1.201 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.049, allocations: 4.406 kB / 1.201 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.049, allocations: 3 kB / 1.201 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/1.05, allocations: 91.11 kB / 1.201 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/1.05, allocations: 166.6 kB / 1.201 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/1.052, allocations: 1.626 MB / 1.202 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/1.053, allocations: 95.03 kB / 1.202 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/1.053, allocations: 39.66 kB / 1.203 GB, free: 6.211 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000478/1.054, allocations: 281 kB / 1.203 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.054, allocations: 88.39 kB / 1.203 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/1.056, allocations: 1.121 MB / 1.204 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/1.056, allocations: 18.12 kB / 1.204 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.056, allocations: 3.938 kB / 1.204 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.056, allocations: 6.734 kB / 1.204 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/1.06, allocations: 2.016 MB / 1.206 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.06, allocations: 0 / 1.206 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/1.06, allocations: 150.3 kB / 1.206 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/1.061, allocations: 82.72 kB / 1.206 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/1.061, allocations: 30.03 kB / 1.206 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/1.063, allocations: 1.657 MB / 1.208 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.063, allocations: 0 / 1.208 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/1.065, allocations: 1.049 MB / 1.209 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/1.065, allocations: 281.9 kB / 1.209 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.065, allocations: 16.59 kB / 1.209 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/1.066, allocations: 69.27 kB / 1.209 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.066, allocations: 76.14 kB / 1.209 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/1.066, allocations: 41.22 kB / 1.209 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000539/1.067, allocations: 465.8 kB / 1.21 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/1.067, allocations: 0 / 1.21 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009457/1.068, allocations: 327.9 kB / 1.21 GB, free: 0.7852 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/1.069, allocations: 0.6076 MB / 1.211 GB, free: 364 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001729/1.071, allocations: 0.8635 MB / 1.211 GB, free: 15.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.071, allocations: 0 / 1.211 GB, free: 15.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009007/1.072, allocations: 0.5471 MB / 1.212 GB, free: 14.91 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.073, allocations: 313.2 kB / 1.212 GB, free: 14.64 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/1.076, allocations: 1.688 MB / 1.214 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/1.076, allocations: 1.04 MB / 1.215 GB, free: 11.86 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007536/1.077, allocations: 262.9 kB / 1.215 GB, free: 11.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/1.077, allocations: 111.4 kB / 1.215 GB, free: 11.49 MB / 0.92 GB Notification: Performance of SimCode: time 4.2e-07/1.078, allocations: 4 kB / 1.215 GB, free: 11.49 MB / 0.92 GB Notification: Performance of Templates: time 0.02518/1.103, allocations: 15.61 MB / 1.231 GB, free: 12.04 MB / 0.9356 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches