Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009982/0.0009982, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008393/0.008393, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.886/2.886, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 9.031 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4308, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006657/0.4375, allocations: 4.588 MB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1973/0.6348, allocations: 146.8 MB / 1.207 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.6361, allocations: 19.88 kB / 1.207 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007393/0.6368, allocations: 154.8 kB / 1.207 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.6393, allocations: 480.8 kB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.642, allocations: 0.7681 MB / 1.208 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002297/0.6443, allocations: 1.374 MB / 1.209 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.6455, allocations: 0.563 MB / 1.21 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.6465, allocations: 382.2 kB / 1.21 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000669/0.6472, allocations: 435 kB / 1.211 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.6473, allocations: 28 kB / 1.211 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.6484, allocations: 387.6 kB / 1.211 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.6487, allocations: 199 kB / 1.211 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005747/0.6493, allocations: 0.4909 MB / 1.212 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.6515, allocations: 1.573 MB / 1.213 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.6515, allocations: 0 / 1.213 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.426e-06/0.6516, allocations: 4 kB / 1.213 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.993e-05/0.6516, allocations: 0 / 1.213 GB, free: 6.668 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002958/0.6546, allocations: 1.273 MB / 1.214 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.6546, allocations: 12.02 kB / 1.214 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.6557, allocations: 199.3 kB / 1.215 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.657, allocations: 0.7779 MB / 1.215 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.6571, allocations: 66 kB / 1.215 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6573, allocations: 84 kB / 1.216 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.6591, allocations: 0.9847 MB / 1.216 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.6592, allocations: 0 / 1.216 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.6593, allocations: 39.98 kB / 1.217 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.6593, allocations: 24 kB / 1.217 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.6613, allocations: 1.167 MB / 1.218 GB, free: 1.914 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.005218/0.6665, allocations: 2.952 MB / 1.221 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.6687, allocations: 0.9871 MB / 1.222 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006268/0.6694, allocations: 330.6 kB / 1.222 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.361e-05/0.6695, allocations: 36.67 kB / 1.222 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.6706, allocations: 0.5382 MB / 1.222 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.855e-06/0.6706, allocations: 3.938 kB / 1.222 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003576/0.6742, allocations: 1.313 MB / 1.224 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.6743, allocations: 192.9 kB / 1.224 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.6754, allocations: 0.649 MB / 1.225 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.6755, allocations: 41.7 kB / 1.225 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.6759, allocations: 412.4 kB / 1.225 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/0.6762, allocations: 280 kB / 1.225 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.6764, allocations: 81.61 kB / 1.225 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.6765, allocations: 390.8 kB / 1.226 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.6772, allocations: 297.8 kB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/0.6779, allocations: 391.1 kB / 1.226 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.6792, allocations: 0.6593 MB / 1.227 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.6792, allocations: 0 / 1.227 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00224/0.6814, allocations: 0.9268 MB / 1.228 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.6815, allocations: 9.094 kB / 1.228 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.6815, allocations: 0 / 1.228 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000653/0.6822, allocations: 88.77 kB / 1.228 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.6829, allocations: 175.8 kB / 1.228 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.6852, allocations: 1.529 MB / 1.23 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.6863, allocations: 115.4 kB / 1.23 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/0.6864, allocations: 47.97 kB / 1.23 GB, free: 5.086 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0006268/0.6871, allocations: 271.9 kB / 1.23 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.6872, allocations: 86.88 kB / 1.23 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.69, allocations: 1.199 MB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.69, allocations: 15.94 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.69, allocations: 0 / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.69, allocations: 3.984 kB / 1.231 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.6938, allocations: 2.105 MB / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.6938, allocations: 0 / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.6945, allocations: 179.7 kB / 1.234 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/0.695, allocations: 84.77 kB / 1.234 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.6951, allocations: 27.97 kB / 1.234 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.6971, allocations: 1.552 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6972, allocations: 4.062 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.6996, allocations: 1.097 MB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/0.7001, allocations: 303.6 kB / 1.237 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.7003, allocations: 20 kB / 1.237 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000807/0.7011, allocations: 98.39 kB / 1.237 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.7013, allocations: 84.88 kB / 1.237 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.7014, allocations: 39.97 kB / 1.237 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006629/0.702, allocations: 475 kB / 1.237 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.702, allocations: 0 / 1.237 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001135/0.7032, allocations: 347.2 kB / 1.238 GB, free: 12.88 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 (106): * Single equations (assignments): 99 * 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.00158/0.7048, allocations: 0.623 MB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.7068, allocations: 0.9054 MB / 1.239 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7069, allocations: 3.938 kB / 1.239 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.708, allocations: 0.5668 MB / 1.24 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.7096, allocations: 281.3 kB / 1.24 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.7136, allocations: 2.223 MB / 1.242 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.7144, allocations: 1.049 MB / 1.243 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001098/0.7155, allocations: 271.1 kB / 1.243 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.7158, allocations: 119.4 kB / 1.243 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/0.7158, allocations: 0 / 1.243 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.7065/1.422, allocations: 15.3 MB / 1.258 GB, free: 188.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches