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 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.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.0007408/0.0007408, allocations: 90.83 kB / 15.06 MB, free: 1.094 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.0008832/0.0008832, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.849/2.849, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003682, allocations: 8.188 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3495, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005476/0.355, allocations: 4.131 MB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.5364, allocations: 136.8 MB / 1.196 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.5376, allocations: 15.94 kB / 1.196 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009197/0.5386, allocations: 142.8 kB / 1.196 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.5408, allocations: 451.4 kB / 1.196 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.5428, allocations: 0.6255 MB / 1.197 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.5445, allocations: 1.171 MB / 1.198 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000777/0.5453, allocations: 447.5 kB / 1.198 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005355/0.5459, allocations: 330.5 kB / 1.199 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.5463, allocations: 370.2 kB / 1.199 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.5464, allocations: 24 kB / 1.199 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.5473, allocations: 331.7 kB / 1.199 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.5475, allocations: 179.1 kB / 1.2 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.5477, allocations: 205.1 kB / 1.2 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.5489, allocations: 1.157 MB / 1.201 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5489, allocations: 0 / 1.201 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5489, allocations: 0 / 1.201 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.5489, allocations: 0 / 1.201 GB, free: 2.609 MB / 0.9512 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.002137/0.5511, allocations: 1.217 MB / 1.202 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5511, allocations: 12.03 kB / 1.202 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.552, allocations: 194.5 kB / 1.202 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.553, allocations: 0.6992 MB / 1.203 GB, free: 408 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.344e-05/0.5531, allocations: 69.92 kB / 1.203 GB, free: 340 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.5532, allocations: 76 kB / 1.203 GB, free: 264 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.5547, allocations: 0.9028 MB / 1.204 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.5547, allocations: 0 / 1.204 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.5548, allocations: 36 kB / 1.204 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.5548, allocations: 23.94 kB / 1.204 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.5565, allocations: 1.1 MB / 1.205 GB, free: 14.15 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.003935/0.5605, allocations: 2.709 MB / 1.208 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.562, allocations: 0.86 MB / 1.209 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.5626, allocations: 306.7 kB / 1.209 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.009e-05/0.5627, allocations: 28.61 kB / 1.209 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009005/0.5636, allocations: 0.4912 MB / 1.209 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=79): time 2.464e-06/0.5636, allocations: 0 / 1.209 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=79): time 0.003014/0.5666, allocations: 1.195 MB / 1.211 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.5668, allocations: 188.6 kB / 1.211 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/0.5677, allocations: 0.6175 MB / 1.211 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.5678, allocations: 41.7 kB / 1.211 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.5682, allocations: 384.4 kB / 1.212 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.5684, allocations: 260.3 kB / 1.212 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.5685, allocations: 16 kB / 1.212 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000233/0.5687, allocations: 390.8 kB / 1.212 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.5693, allocations: 261.9 kB / 1.213 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.5699, allocations: 355.1 kB / 1.213 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.5704, allocations: 306.9 kB / 1.213 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5704, allocations: 0 / 1.213 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001821/0.5723, allocations: 0.8449 MB / 1.214 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.5723, allocations: 13.67 kB / 1.214 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5723, allocations: 3.938 kB / 1.214 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.5729, allocations: 84.78 kB / 1.214 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.5735, allocations: 163.7 kB / 1.214 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.5755, allocations: 1.528 MB / 1.216 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007043/0.5762, allocations: 109.1 kB / 1.216 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.5763, allocations: 31.98 kB / 1.216 GB, free: 2.602 MB / 0.9669 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004511/0.5767, allocations: 267.4 kB / 1.216 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.5768, allocations: 82.92 kB / 1.216 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5791, allocations: 1.061 MB / 1.217 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.5791, allocations: 11.98 kB / 1.217 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5791, allocations: 3.984 kB / 1.217 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5791, allocations: 3.984 kB / 1.217 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.5821, allocations: 1.899 MB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5821, allocations: 3.984 kB / 1.219 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005452/0.5827, allocations: 143.8 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.5831, allocations: 92.66 kB / 1.219 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.5832, allocations: 19.98 kB / 1.219 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.5851, allocations: 1.552 MB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5851, allocations: 0 / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.587, allocations: 0.9881 MB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.5874, allocations: 279.7 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.5875, allocations: 16 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/0.5881, allocations: 90.08 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.5883, allocations: 72.89 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.5884, allocations: 31.98 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005676/0.5889, allocations: 447 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.9e-07/0.589, allocations: 0 / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009416/0.5899, allocations: 315.3 kB / 1.223 GB, free: 11 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001432/0.5913, allocations: 0.5959 MB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.5929, allocations: 0.8233 MB / 1.225 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5929, allocations: 0 / 1.225 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008542/0.5938, allocations: 0.5122 MB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.595, allocations: 270.7 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.5981, allocations: 1.993 MB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.5987, allocations: 1.016 MB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000818/0.5995, allocations: 262.6 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.5997, allocations: 99.39 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of SimCode: time 1.643e-06/0.5997, allocations: 4 kB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.02495/0.6247, allocations: 13.8 MB / 1.242 GB, free: 7.898 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