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.0008862/0.0008863, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 173 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.757/2.757, allocations: 462.6 MB / 0.737 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 12.97 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3396, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005638/0.3453, allocations: 4.373 MB / 1.064 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.5103, allocations: 146.7 MB / 1.207 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.5114, allocations: 15.88 kB / 1.207 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.5123, allocations: 142.9 kB / 1.207 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.5144, allocations: 475.8 kB / 1.207 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.5167, allocations: 0.721 MB / 1.208 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.5185, allocations: 1.269 MB / 1.209 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001084/0.5196, allocations: 0.536 MB / 1.21 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.5203, allocations: 342.4 kB / 1.21 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007672/0.5211, allocations: 379.1 kB / 1.211 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.5214, allocations: 24 kB / 1.211 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.5225, allocations: 375.6 kB / 1.211 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.5228, allocations: 187.1 kB / 1.211 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006707/0.5235, allocations: 466.9 kB / 1.212 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.525, allocations: 1.157 MB / 1.213 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.525, allocations: 7.938 kB / 1.213 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.465e-06/0.525, allocations: 0 / 1.213 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.627e-05/0.5251, allocations: 0 / 1.213 GB, free: 7.309 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002722/0.5278, allocations: 1.204 MB / 1.214 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5279, allocations: 15.97 kB / 1.214 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.529, allocations: 195.4 kB / 1.214 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.5304, allocations: 0.7305 MB / 1.215 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.5305, allocations: 62 kB / 1.215 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.5307, allocations: 83.98 kB / 1.215 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.5326, allocations: 0.9105 MB / 1.216 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5326, allocations: 0 / 1.216 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.981e-05/0.5327, allocations: 36 kB / 1.216 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.5327, allocations: 20 kB / 1.216 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.5346, allocations: 1.1 MB / 1.217 GB, free: 2.828 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.004819/0.5395, allocations: 2.708 MB / 1.22 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.541, allocations: 0.882 MB / 1.22 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.5416, allocations: 306.7 kB / 1.221 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.888e-05/0.5417, allocations: 28.61 kB / 1.221 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009155/0.5426, allocations: 499.1 kB / 1.221 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 3.166e-06/0.5426, allocations: 0 / 1.221 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003283/0.5459, allocations: 1.201 MB / 1.222 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5461, allocations: 188.6 kB / 1.223 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009779/0.547, allocations: 0.6214 MB / 1.223 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.5471, allocations: 45.69 kB / 1.223 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.5476, allocations: 388.4 kB / 1.224 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.5478, allocations: 260.4 kB / 1.224 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5479, allocations: 65.69 kB / 1.224 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5481, allocations: 386.7 kB / 1.224 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.5487, allocations: 265.9 kB / 1.225 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.5493, allocations: 371 kB / 1.225 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.5504, allocations: 0.6033 MB / 1.226 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5504, allocations: 0 / 1.226 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002029/0.5525, allocations: 0.8488 MB / 1.226 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.5525, allocations: 8 kB / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5525, allocations: 0 / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.5531, allocations: 84.86 kB / 1.226 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.5538, allocations: 155.8 kB / 1.227 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.5559, allocations: 1.531 MB / 1.228 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008589/0.5568, allocations: 107.4 kB / 1.228 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/0.5569, allocations: 35.97 kB / 1.228 GB, free: 6.848 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: 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.000571/0.5575, allocations: 259.4 kB / 1.228 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.5577, allocations: 86.91 kB / 1.229 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.5602, allocations: 1.066 MB / 1.23 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.5602, allocations: 8 kB / 1.23 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5602, allocations: 4 kB / 1.23 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.5603, allocations: 3.984 kB / 1.23 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.5637, allocations: 1.914 MB / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5637, allocations: 0 / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.5643, allocations: 151.8 kB / 1.232 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005638/0.5649, allocations: 84.72 kB / 1.232 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.025e-05/0.565, allocations: 27.97 kB / 1.232 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.5669, allocations: 1.532 MB / 1.233 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5669, allocations: 3.984 kB / 1.233 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.569, allocations: 0.996 MB / 1.234 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.5695, allocations: 279.7 kB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.5697, allocations: 23.98 kB / 1.234 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.5705, allocations: 85.41 kB / 1.235 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5707, allocations: 72.83 kB / 1.235 GB, free: 4 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.5708, allocations: 27.98 kB / 1.235 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007064/0.5715, allocations: 455 kB / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5715, allocations: 7.938 kB / 1.235 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001041/0.5725, allocations: 319.2 kB / 1.235 GB, free: 15.22 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.001614/0.5741, allocations: 0.6069 MB / 1.236 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.576, allocations: 0.8236 MB / 1.237 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.576, allocations: 0 / 1.237 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009815/0.577, allocations: 0.5159 MB / 1.237 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.5785, allocations: 268 kB / 1.238 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.5822, allocations: 2.093 MB / 1.24 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.5829, allocations: 1.017 MB / 1.241 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.5833, allocations: 119.4 kB / 1.241 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/0.5833, allocations: 0 / 1.241 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of Templates: time 0.5827/1.166, allocations: 18.08 MB / 1.258 GB, free: 187.3 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/jenkins1/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