Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 219.5 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.264/3.264, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 66.64 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3396, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00781/0.3474, allocations: 4.533 MB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1782/0.5256, allocations: 132.7 MB / 1.479 GB, free: 6.145 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009057/0.5265, allocations: 19.88 kB / 1.479 GB, free: 6.125 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008642/0.5274, allocations: 210.1 kB / 1.48 GB, free: 5.918 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.5297, allocations: 0.5914 MB / 1.48 GB, free: 5.328 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.5322, allocations: 0.9128 MB / 1.481 GB, free: 4.422 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.5344, allocations: 1.487 MB / 1.482 GB, free: 2.926 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.5354, allocations: 425.6 kB / 1.483 GB, free: 2.492 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.5365, allocations: 0.5489 MB / 1.483 GB, free: 1.941 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009973/0.5375, allocations: 0.5446 MB / 1.484 GB, free: 1.395 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003078/0.5378, allocations: 124 kB / 1.484 GB, free: 1.273 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.5391, allocations: 0.5308 MB / 1.485 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004339/0.5396, allocations: 323 kB / 1.485 GB, free: 436 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008144/0.5404, allocations: 489.7 kB / 1.485 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.5433, allocations: 1.786 MB / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5433, allocations: 0 / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5433, allocations: 0 / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.935e-05/0.5434, allocations: 4 kB / 1.487 GB, free: 14.15 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003865/0.5473, allocations: 1.495 MB / 1.489 GB, free: 12.61 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5473, allocations: 8.031 kB / 1.489 GB, free: 12.61 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.201e-05/0.5474, allocations: 26.19 kB / 1.489 GB, free: 12.58 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002444/0.5476, allocations: 139.8 kB / 1.489 GB, free: 12.44 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.5497, allocations: 267.9 kB / 1.489 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.5514, allocations: 0.7372 MB / 1.49 GB, free: 11.41 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.288e-05/0.5515, allocations: 70 kB / 1.49 GB, free: 11.34 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.5517, allocations: 91.94 kB / 1.49 GB, free: 11.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.5538, allocations: 1.232 MB / 1.491 GB, free: 9.918 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.5539, allocations: 3.938 kB / 1.491 GB, free: 9.914 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.554, allocations: 36 kB / 1.491 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.554, allocations: 24 kB / 1.491 GB, free: 9.855 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.5562, allocations: 1.155 MB / 1.492 GB, free: 8.699 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005088/0.5613, allocations: 2.4 MB / 1.495 GB, free: 6.234 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.5636, allocations: 0.8451 MB / 1.495 GB, free: 5.379 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.5642, allocations: 300.7 kB / 1.496 GB, free: 5.086 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/0.5643, allocations: 28.62 kB / 1.496 GB, free: 5.059 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.5654, allocations: 0.6318 MB / 1.496 GB, free: 4.387 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 3.567e-06/0.5654, allocations: 0 / 1.496 GB, free: 4.387 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003664/0.5691, allocations: 1.227 MB / 1.498 GB, free: 3.148 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.5692, allocations: 192.9 kB / 1.498 GB, free: 2.918 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.5704, allocations: 0.688 MB / 1.498 GB, free: 2.219 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.5705, allocations: 41.7 kB / 1.498 GB, free: 2.172 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004291/0.571, allocations: 425.2 kB / 1.499 GB, free: 1.75 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.5713, allocations: 293.5 kB / 1.499 GB, free: 1.461 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.5716, allocations: 162.6 kB / 1.499 GB, free: 1.297 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.5718, allocations: 394.7 kB / 1.5 GB, free: 0.9023 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.5724, allocations: 265.9 kB / 1.5 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007935/0.5732, allocations: 0.5068 MB / 1.5 GB, free: 80 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.5745, allocations: 0.6283 MB / 1.501 GB, free: 15.43 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5745, allocations: 0 / 1.501 GB, free: 15.43 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002458/0.577, allocations: 0.8764 MB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.577, allocations: 4 kB / 1.502 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.577, allocations: 4 kB / 1.502 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.5777, allocations: 80.84 kB / 1.502 GB, free: 14.46 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.5785, allocations: 171.8 kB / 1.502 GB, free: 14.29 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.5808, allocations: 1.519 MB / 1.504 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/0.5817, allocations: 107.5 kB / 1.504 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.5819, allocations: 35.97 kB / 1.504 GB, free: 12.5 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0006026/0.5825, allocations: 271.4 kB / 1.504 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.5827, allocations: 99.52 kB / 1.504 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.5857, allocations: 1.187 MB / 1.505 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.5858, allocations: 15.98 kB / 1.505 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5858, allocations: 0 / 1.505 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.5858, allocations: 3.984 kB / 1.505 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/0.5899, allocations: 1.95 MB / 1.507 GB, free: 8.914 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.5899, allocations: 0 / 1.507 GB, free: 8.914 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.5906, allocations: 163.7 kB / 1.507 GB, free: 8.754 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/0.5911, allocations: 76.78 kB / 1.507 GB, free: 8.676 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/0.5912, allocations: 31.97 kB / 1.507 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.5934, allocations: 1.551 MB / 1.509 GB, free: 6.973 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5934, allocations: 0 / 1.509 GB, free: 6.973 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.5959, allocations: 1.108 MB / 1.51 GB, free: 5.844 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005567/0.5965, allocations: 219 kB / 1.51 GB, free: 5.629 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.5966, allocations: 27.92 kB / 1.51 GB, free: 5.602 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007737/0.5974, allocations: 70.73 kB / 1.51 GB, free: 5.535 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.5976, allocations: 92.78 kB / 1.51 GB, free: 5.445 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.384e-05/0.5977, allocations: 47.91 kB / 1.51 GB, free: 5.398 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007538/0.5985, allocations: 491 kB / 1.511 GB, free: 4.926 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5985, allocations: 0 / 1.511 GB, free: 4.926 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001106/0.5996, allocations: 351.1 kB / 1.511 GB, free: 4.582 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004902/0.6045, allocations: 2.196 MB / 1.513 GB, free: 2.562 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.6065, allocations: 0.8391 MB / 1.514 GB, free: 1.715 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6065, allocations: 0 / 1.514 GB, free: 1.715 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6076, allocations: 0.5275 MB / 1.515 GB, free: 1.176 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.6091, allocations: 318.1 kB / 1.515 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.622, allocations: 6.659 MB / 1.522 GB, free: 10.07 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.6226, allocations: 466.3 kB / 1.522 GB, free: 9.586 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001055/0.6237, allocations: 283.2 kB / 1.522 GB, free: 9.305 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.6244, allocations: 423.2 kB / 1.523 GB, free: 8.895 MB / 1.217 GB Notification: Performance of SimCode: time 1.393e-06/0.6244, allocations: 0 / 1.523 GB, free: 8.895 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08805/0.7125, allocations: 24.73 MB / 1.547 GB, free: 0.4922 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.63, allocations: 12.03 kB / 1.547 GB, free: 492 kB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.621122264070436]