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.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.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.001131/0.001131, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007474/0.007474, allocations: 169 kB / 16.26 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 12.31 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3653, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00526/0.3706, allocations: 4.385 MB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1517/0.5223, allocations: 146.7 MB / 1.206 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008423/0.5232, allocations: 15.88 kB / 1.206 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.5239, allocations: 150.8 kB / 1.206 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.5256, allocations: 461.5 kB / 1.207 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.5275, allocations: 0.7214 MB / 1.207 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.5291, allocations: 1.269 MB / 1.209 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009599/0.5301, allocations: 0.5376 MB / 1.209 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006912/0.5308, allocations: 346.4 kB / 1.21 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005534/0.5313, allocations: 377.9 kB / 1.21 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.5314, allocations: 28 kB / 1.21 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008438/0.5323, allocations: 371.6 kB / 1.21 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.5325, allocations: 183.1 kB / 1.211 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004646/0.533, allocations: 470.8 kB / 1.211 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.5346, allocations: 1.468 MB / 1.212 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5347, allocations: 0 / 1.212 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5347, allocations: 0 / 1.212 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.585e-05/0.5347, allocations: 0 / 1.212 GB, free: 7.445 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.002287/0.537, allocations: 1.214 MB / 1.214 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.537, allocations: 8.031 kB / 1.214 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009417/0.538, allocations: 191.4 kB / 1.214 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.539, allocations: 0.7344 MB / 1.214 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.5391, allocations: 62 kB / 1.215 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.5392, allocations: 80 kB / 1.215 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.5407, allocations: 0.9105 MB / 1.216 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5408, allocations: 8 kB / 1.216 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.5408, allocations: 32 kB / 1.216 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.5409, allocations: 20 kB / 1.216 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.5426, allocations: 1.1 MB / 1.217 GB, free: 2.969 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.003906/0.5465, allocations: 2.713 MB / 1.219 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.5479, allocations: 0.8688 MB / 1.22 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.5485, allocations: 311.2 kB / 1.22 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/0.5485, allocations: 24.62 kB / 1.22 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008304/0.5494, allocations: 0.4913 MB / 1.221 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.936e-06/0.5494, allocations: 4 kB / 1.221 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003032/0.5524, allocations: 1.198 MB / 1.222 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.5525, allocations: 196.5 kB / 1.222 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.5533, allocations: 0.6137 MB / 1.223 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.5534, allocations: 45.69 kB / 1.223 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.5537, allocations: 396.3 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.5539, allocations: 256.4 kB / 1.224 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.374e-05/0.554, allocations: 65.69 kB / 1.224 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5541, allocations: 386.7 kB / 1.224 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.5547, allocations: 265.9 kB / 1.224 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.5553, allocations: 367.1 kB / 1.225 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.5563, allocations: 0.6111 MB / 1.225 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.5563, allocations: 4 kB / 1.225 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00183/0.5582, allocations: 0.8448 MB / 1.226 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.5583, allocations: 10.19 kB / 1.226 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5583, allocations: 0 / 1.226 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.5589, allocations: 84.86 kB / 1.226 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.5596, allocations: 163.8 kB / 1.226 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.5616, allocations: 1.516 MB / 1.228 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.5623, allocations: 109.8 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/0.5624, allocations: 39.97 kB / 1.228 GB, free: 6.988 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.0004238/0.5628, allocations: 267.4 kB / 1.228 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.5629, allocations: 86.91 kB / 1.228 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.5653, allocations: 1.062 MB / 1.229 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.5653, allocations: 8 kB / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5653, allocations: 0 / 1.229 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.5653, allocations: 3.984 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.5684, allocations: 1.911 MB / 1.231 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5684, allocations: 4 kB / 1.231 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005426/0.5689, allocations: 139.8 kB / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/0.5694, allocations: 88.72 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.5695, allocations: 27.97 kB / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.5713, allocations: 1.544 MB / 1.233 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5713, allocations: 4.062 kB / 1.233 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.5733, allocations: 0.992 MB / 1.234 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004237/0.5737, allocations: 279.7 kB / 1.234 GB, free: 328 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.5738, allocations: 28.06 kB / 1.234 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.5745, allocations: 78.78 kB / 1.234 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.5747, allocations: 80.81 kB / 1.234 GB, free: 140 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.5747, allocations: 31.98 kB / 1.234 GB, free: 108 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005682/0.5753, allocations: 455 kB / 1.235 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.915e-06/0.5753, allocations: 0 / 1.235 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009428/0.5763, allocations: 327.1 kB / 1.235 GB, free: 15.35 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.001353/0.5776, allocations: 0.5949 MB / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.5793, allocations: 0.8234 MB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5793, allocations: 0 / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009/0.5802, allocations: 0.5161 MB / 1.237 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5816, allocations: 275.6 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.5852, allocations: 2.048 MB / 1.239 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006807/0.5859, allocations: 1.02 MB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009985/0.5869, allocations: 258.6 kB / 1.24 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.5872, allocations: 111.3 kB / 1.241 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of SimCode: time 1.833e-06/0.5872, allocations: 0 / 1.241 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of Templates: time 0.5534/1.141, allocations: 14.21 MB / 1.254 GB, free: 187.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