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.00142/0.00142, allocations: 108 kB / 15.61 MB, free: 152 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.001654/0.001654, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.334/1.334, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.28 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3681, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007406/0.3756, allocations: 4.787 MB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1661/0.5417, allocations: 150.6 MB / 1.22 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.5431, allocations: 15.94 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.544, allocations: 190.1 kB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.5466, allocations: 0.5397 MB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.549, allocations: 0.8169 MB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.5507, allocations: 1.355 MB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/0.5515, allocations: 0.5753 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000695/0.5522, allocations: 482.3 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005624/0.5528, allocations: 0.4964 MB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.553, allocations: 112 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009346/0.5539, allocations: 451.6 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000266/0.5542, allocations: 299 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004684/0.5547, allocations: 0.5402 MB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.5567, allocations: 1.566 MB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5567, allocations: 0 / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.768e-06/0.5567, allocations: 3.984 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.5567, allocations: 4 kB / 1.227 GB, free: 7.012 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.002589/0.5593, allocations: 1.411 MB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5594, allocations: 8.031 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009148/0.5603, allocations: 187.4 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000955/0.5612, allocations: 0.7266 MB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.5613, allocations: 65.98 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.815e-05/0.5614, allocations: 80 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.5629, allocations: 0.8989 MB / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5629, allocations: 0 / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.563, allocations: 36 kB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.563, allocations: 20 kB / 1.23 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.5647, allocations: 1.104 MB / 1.232 GB, free: 2.348 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.003924/0.5687, allocations: 2.68 MB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.5702, allocations: 0.8687 MB / 1.235 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.5708, allocations: 302.7 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-05/0.5708, allocations: 36.52 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008456/0.5717, allocations: 487.1 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 2.635e-06/0.5717, allocations: 0 / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.003173/0.5749, allocations: 1.182 MB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.575, allocations: 188.6 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007792/0.5758, allocations: 0.6292 MB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.5759, allocations: 41.7 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.5762, allocations: 384.3 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.5764, allocations: 264.3 kB / 1.238 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.5766, allocations: 162.5 kB / 1.239 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.5768, allocations: 386.7 kB / 1.239 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.5773, allocations: 265.9 kB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/0.5779, allocations: 363.1 kB / 1.24 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.579, allocations: 0.5994 MB / 1.24 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.579, allocations: 0 / 1.24 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001938/0.581, allocations: 0.8409 MB / 1.241 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.581, allocations: 8 kB / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.581, allocations: 0 / 1.241 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/0.5816, allocations: 84.86 kB / 1.241 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.5823, allocations: 151.8 kB / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.5844, allocations: 1.635 MB / 1.243 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.5852, allocations: 91.42 kB / 1.243 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.5853, allocations: 39.97 kB / 1.243 GB, free: 6.266 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.0004983/0.5858, allocations: 264 kB / 1.243 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.5859, allocations: 86.95 kB / 1.243 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.5883, allocations: 1.05 MB / 1.244 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.5883, allocations: 8 kB / 1.244 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5883, allocations: 0 / 1.244 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5883, allocations: 7.969 kB / 1.244 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.5914, allocations: 1.91 MB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5914, allocations: 4 kB / 1.246 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005299/0.592, allocations: 143.8 kB / 1.246 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/0.5924, allocations: 72.78 kB / 1.246 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.5925, allocations: 23.98 kB / 1.246 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.5945, allocations: 1.662 MB / 1.248 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5945, allocations: 0 / 1.248 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5387/1.133, allocations: 0.9788 MB / 1.249 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/1.134, allocations: 266.7 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.134, allocations: 18.75 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/1.135, allocations: 61.58 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.135, allocations: 70.19 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/1.135, allocations: 36.03 kB / 1.249 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005794/1.135, allocations: 452.6 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.135, allocations: 2.719 kB / 1.25 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008564/1.136, allocations: 315.4 kB / 1.25 GB, free: 183.2 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.001225/1.138, allocations: 0.5977 MB / 1.251 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002284/1.14, allocations: 1.024 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.14, allocations: 0 / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000898/1.141, allocations: 0.5096 MB / 1.252 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.142, allocations: 312.1 kB / 1.253 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/1.145, allocations: 1.63 MB / 1.254 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/1.145, allocations: 1.017 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008584/1.146, allocations: 265 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/1.147, allocations: 103.2 kB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.147, allocations: 192 / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.02757/1.174, allocations: 14.95 MB / 1.27 GB, free: 179.5 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