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.001218/0.001218, 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.001153/0.001153, 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.61 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3404, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006601/0.347, allocations: 5.016 MB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.507, allocations: 148.4 MB / 1.202 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009189/0.508, allocations: 19.88 kB / 1.202 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.5088, allocations: 154.8 kB / 1.202 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.5108, allocations: 492.9 kB / 1.203 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.5129, allocations: 0.7604 MB / 1.203 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.5147, allocations: 1.37 MB / 1.205 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.5159, allocations: 0.5824 MB / 1.205 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009442/0.5169, allocations: 458.2 kB / 1.206 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008919/0.5178, allocations: 0.5065 MB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.518, allocations: 60 kB / 1.206 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.5192, allocations: 423.5 kB / 1.207 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.5195, allocations: 247 kB / 1.207 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006277/0.5201, allocations: 0.5322 MB / 1.207 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001584/0.5217, allocations: 1.624 MB / 1.209 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5217, allocations: 4 kB / 1.209 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5217, allocations: 0 / 1.209 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.5218, allocations: 0 / 1.209 GB, free: 7.578 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.002528/0.5243, allocations: 1.487 MB / 1.21 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.5243, allocations: 8.031 kB / 1.21 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008785/0.5252, allocations: 199.3 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009321/0.5262, allocations: 0.7662 MB / 1.211 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/0.5262, allocations: 66 kB / 1.211 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.5263, allocations: 88 kB / 1.211 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.5279, allocations: 0.9847 MB / 1.212 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.5279, allocations: 4 kB / 1.212 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.528, allocations: 39.94 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.528, allocations: 24 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.5298, allocations: 1.155 MB / 1.214 GB, free: 2.629 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.004317/0.5341, allocations: 2.918 MB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.5363, allocations: 0.9855 MB / 1.217 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.5369, allocations: 322.7 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.948e-05/0.537, allocations: 36.67 kB / 1.218 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.5381, allocations: 0.5296 MB / 1.218 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.845e-06/0.5381, allocations: 3.938 kB / 1.218 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003629/0.5417, allocations: 1.302 MB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5418, allocations: 196.9 kB / 1.22 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.5427, allocations: 0.6489 MB / 1.22 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.16e-05/0.5428, allocations: 45.69 kB / 1.22 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.5431, allocations: 408.4 kB / 1.221 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.5433, allocations: 284 kB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.5436, allocations: 178.5 kB / 1.221 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.5438, allocations: 390.8 kB / 1.222 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/0.5444, allocations: 297.8 kB / 1.222 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006779/0.545, allocations: 383.1 kB / 1.222 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.5463, allocations: 0.6554 MB / 1.223 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5463, allocations: 0 / 1.223 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002225/0.5485, allocations: 0.919 MB / 1.224 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5486, allocations: 5.094 kB / 1.224 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5486, allocations: 0 / 1.224 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/0.5492, allocations: 84.83 kB / 1.224 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.55, allocations: 175.7 kB / 1.224 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.552, allocations: 1.516 MB / 1.226 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.5528, allocations: 111.3 kB / 1.226 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.5529, allocations: 43.91 kB / 1.226 GB, free: 5.809 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.0004833/0.5534, allocations: 275.9 kB / 1.226 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.5536, allocations: 90.88 kB / 1.226 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.5562, allocations: 1.191 MB / 1.227 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.5563, allocations: 19.88 kB / 1.227 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.5563, allocations: 0 / 1.227 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5563, allocations: 3.984 kB / 1.227 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.5596, allocations: 2.09 MB / 1.229 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5596, allocations: 0 / 1.229 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.5603, allocations: 163.8 kB / 1.229 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/0.5608, allocations: 92.64 kB / 1.23 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.5609, allocations: 31.97 kB / 1.23 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.5627, allocations: 1.551 MB / 1.231 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5627, allocations: 0 / 1.231 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.5649, allocations: 1.093 MB / 1.232 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/0.5653, allocations: 287.8 kB / 1.232 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.5654, allocations: 24 kB / 1.232 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.5662, allocations: 81.95 kB / 1.233 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.5663, allocations: 80.88 kB / 1.233 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/0.5664, allocations: 39.98 kB / 1.233 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006029/0.567, allocations: 471 kB / 1.233 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.567, allocations: 0 / 1.233 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009087/0.5679, allocations: 347.2 kB / 1.233 GB, free: 13.65 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.001386/0.5693, allocations: 0.621 MB / 1.234 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.5711, allocations: 0.8977 MB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5711, allocations: 0 / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009515/0.5721, allocations: 0.5549 MB / 1.235 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.5733, allocations: 295.3 kB / 1.236 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.5765, allocations: 2.197 MB / 1.238 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.5772, allocations: 1.048 MB / 1.239 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008833/0.5781, allocations: 283.1 kB / 1.239 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.5784, allocations: 111.4 kB / 1.239 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/0.5784, allocations: 0 / 1.239 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of Templates: time 0.5335/1.112, allocations: 15.4 MB / 1.254 GB, free: 191.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