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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001343/0.001343, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001333/0.001333, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.364/1.364, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.882/2.882, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 58.97 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3061, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00594/0.3121, allocations: 4.93 MB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.4704, allocations: 148.3 MB / 1.202 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.4716, allocations: 15.94 kB / 1.202 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009189/0.4725, allocations: 150.8 kB / 1.202 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.4747, allocations: 476.5 kB / 1.202 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.4768, allocations: 0.7398 MB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.4784, allocations: 1.331 MB / 1.204 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.4795, allocations: 0.5789 MB / 1.205 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/0.4803, allocations: 434.2 kB / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.4812, allocations: 493.7 kB / 1.206 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.4814, allocations: 56 kB / 1.206 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009943/0.4824, allocations: 403.6 kB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.4827, allocations: 243 kB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.4834, allocations: 0.5166 MB / 1.207 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.485, allocations: 1.569 MB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.485, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4851, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.4851, allocations: 0 / 1.209 GB, free: 8.008 MB / 0.9669 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.002726/0.4878, allocations: 1.46 MB / 1.21 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4879, allocations: 15.97 kB / 1.21 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.4888, allocations: 187.4 kB / 1.21 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009859/0.4898, allocations: 0.7507 MB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.4898, allocations: 65.98 kB / 1.211 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.49, allocations: 88 kB / 1.211 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.4915, allocations: 0.9456 MB / 1.212 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.4916, allocations: 0 / 1.212 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.4916, allocations: 32 kB / 1.212 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.4917, allocations: 20 kB / 1.212 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.4935, allocations: 1.128 MB / 1.213 GB, free: 3.191 MB / 0.9669 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.00389/0.4974, allocations: 2.747 MB / 1.216 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.4989, allocations: 0.9121 MB / 1.217 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005553/0.4995, allocations: 316.3 kB / 1.217 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/0.4996, allocations: 24.61 kB / 1.217 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009409/0.5005, allocations: 0.5159 MB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.134e-06/0.5006, allocations: 0 / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003268/0.5038, allocations: 1.255 MB / 1.219 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.5039, allocations: 192.9 kB / 1.219 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/0.5047, allocations: 0.6448 MB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.5048, allocations: 41.7 kB / 1.22 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.5051, allocations: 404.4 kB / 1.22 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.5053, allocations: 268.2 kB / 1.22 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.5056, allocations: 170.5 kB / 1.22 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5057, allocations: 386.7 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.5063, allocations: 281.8 kB / 1.221 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.5069, allocations: 375.1 kB / 1.221 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.508, allocations: 0.6242 MB / 1.222 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.508, allocations: 0 / 1.222 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001949/0.51, allocations: 0.8839 MB / 1.223 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.51, allocations: 4 kB / 1.223 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.51, allocations: 11.94 kB / 1.223 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/0.5107, allocations: 80.84 kB / 1.223 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/0.5114, allocations: 167.7 kB / 1.223 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.5136, allocations: 1.526 MB / 1.225 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/0.5144, allocations: 97.98 kB / 1.225 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.295e-05/0.5145, allocations: 39.97 kB / 1.225 GB, free: 6.828 MB / 0.9825 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.0004377/0.515, allocations: 275.6 kB / 1.225 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.5151, allocations: 90.97 kB / 1.225 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.5176, allocations: 1.132 MB / 1.226 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.5176, allocations: 11.98 kB / 1.226 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5176, allocations: 0 / 1.226 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.5176, allocations: 7.922 kB / 1.226 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.5208, allocations: 2.012 MB / 1.228 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5208, allocations: 0 / 1.228 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.5214, allocations: 151.8 kB / 1.228 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005215/0.522, allocations: 88.77 kB / 1.228 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.522, allocations: 27.98 kB / 1.228 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.5238, allocations: 1.544 MB / 1.23 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5238, allocations: 0 / 1.23 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.5258, allocations: 1.043 MB / 1.231 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.5262, allocations: 275.7 kB / 1.231 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.5263, allocations: 27.92 kB / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.527, allocations: 63.94 kB / 1.231 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.5272, allocations: 80.88 kB / 1.231 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/0.5273, allocations: 35.98 kB / 1.231 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000555/0.5279, allocations: 471 kB / 1.232 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.512e-06/0.5279, allocations: 0 / 1.232 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008605/0.5287, allocations: 339.1 kB / 1.232 GB, free: 14.93 MB / 0.9981 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.001338/0.5301, allocations: 0.6133 MB / 1.233 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.5318, allocations: 0.8587 MB / 1.234 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5318, allocations: 0 / 1.234 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009232/0.5327, allocations: 0.5431 MB / 1.234 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.534, allocations: 274.8 kB / 1.234 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.5375, allocations: 2.128 MB / 1.237 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006943/0.5382, allocations: 1.036 MB / 1.238 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00106/0.5393, allocations: 270.9 kB / 1.238 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.5396, allocations: 111.3 kB / 1.238 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of SimCode: time 8.21e-07/0.5396, allocations: 0 / 1.238 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of Templates: time 0.5969/1.137, allocations: 14.91 MB / 1.252 GB, free: 191.2 MB / 0.9981 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","/var/lib/jenkins/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