Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, 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.002107/0.002107, allocations: 196.8 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 70.72 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3385, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006582/0.3451, allocations: 4.788 MB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.5022, allocations: 148.3 MB / 1.217 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009189/0.5031, allocations: 23.81 kB / 1.217 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006719/0.5038, allocations: 150.8 kB / 1.217 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.5058, allocations: 457.2 kB / 1.218 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.5078, allocations: 0.716 MB / 1.218 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.5094, allocations: 1.273 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.5102, allocations: 0.5572 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006526/0.5109, allocations: 422.3 kB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.5114, allocations: 461.9 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.5115, allocations: 52 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009804/0.5125, allocations: 395.6 kB / 1.221 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002224/0.5128, allocations: 235 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.5132, allocations: 0.4894 MB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.5147, allocations: 1.515 MB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5147, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5147, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.5148, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002528/0.5173, allocations: 1.424 MB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5173, allocations: 8.031 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.5183, allocations: 179.4 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5194, allocations: 0.7305 MB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.5195, allocations: 66 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-05/0.5196, allocations: 79.98 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.5211, allocations: 0.9028 MB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5211, allocations: 0 / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/0.5212, allocations: 32 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.5213, allocations: 20 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.523, allocations: 1.093 MB / 1.228 GB, free: 5.809 MB / 0.9825 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.004406/0.5274, allocations: 2.681 MB / 1.231 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.5289, allocations: 0.8687 MB / 1.231 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.5295, allocations: 294.7 kB / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/0.5296, allocations: 32.62 kB / 1.232 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008922/0.5305, allocations: 0.4913 MB / 1.232 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/0.5305, allocations: 3.938 kB / 1.232 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003278/0.5338, allocations: 1.17 MB / 1.233 GB, free: 80 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.5339, allocations: 196.5 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.5348, allocations: 0.6175 MB / 1.234 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-05/0.5348, allocations: 49.69 kB / 1.234 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.5352, allocations: 392.3 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002322/0.5354, allocations: 260.3 kB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.5357, allocations: 158.5 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.5359, allocations: 386.7 kB / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.5365, allocations: 261.9 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.5371, allocations: 363.1 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.5382, allocations: 0.5955 MB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5382, allocations: 4 kB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001999/0.5402, allocations: 0.8448 MB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5402, allocations: 4 kB / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.5403, allocations: 0 / 1.237 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.5409, allocations: 80.88 kB / 1.237 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.5415, allocations: 163.8 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.5436, allocations: 1.526 MB / 1.239 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.5444, allocations: 95.31 kB / 1.239 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.5445, allocations: 39.91 kB / 1.239 GB, free: 9.836 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004605/0.5449, allocations: 267.6 kB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.5451, allocations: 86.91 kB / 1.24 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.5475, allocations: 1.046 MB / 1.241 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.5475, allocations: 11.98 kB / 1.241 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.5475, allocations: 0 / 1.241 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.5475, allocations: 3.984 kB / 1.241 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.5507, allocations: 1.907 MB / 1.242 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5508, allocations: 4 kB / 1.242 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.5513, allocations: 139.8 kB / 1.243 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/0.5519, allocations: 84.72 kB / 1.243 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/0.5519, allocations: 27.92 kB / 1.243 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.5537, allocations: 1.552 MB / 1.244 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5538, allocations: 4 kB / 1.244 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.5558, allocations: 0.9765 MB / 1.245 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.5562, allocations: 271.7 kB / 1.245 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.5563, allocations: 20 kB / 1.245 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.557, allocations: 69.48 kB / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.5571, allocations: 68.84 kB / 1.246 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.5572, allocations: 35.97 kB / 1.246 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005609/0.5578, allocations: 451 kB / 1.246 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5578, allocations: 3.938 kB / 1.246 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008815/0.5587, allocations: 323.2 kB / 1.246 GB, free: 2.258 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001374/0.5601, allocations: 0.6024 MB / 1.247 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.5618, allocations: 0.8156 MB / 1.248 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5618, allocations: 4.188 kB / 1.248 GB, free: 1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009381/0.5627, allocations: 0.5119 MB / 1.248 GB, free: 488 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.564, allocations: 279.5 kB / 1.249 GB, free: 212 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.513/1.077, allocations: 2.012 MB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/1.078, allocations: 1.019 MB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009939/1.079, allocations: 256.8 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/1.079, allocations: 103.8 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.863e-06/1.079, allocations: 0.6562 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02981/1.109, allocations: 14.32 MB / 1.266 GB, free: 180.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches