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.001421/0.001421, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001718/0.001718, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.222/3.222, allocations: 0.5002 GB / 0.8061 GB, free: 26.82 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.002057/0.002057, allocations: 62.22 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3407, allocations: 179 MB / 1.345 GB, free: 488 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.008583/0.3492, allocations: 5.097 MB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1863/0.5356, allocations: 154.3 MB / 1.501 GB, free: 500 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.5367, allocations: 23.81 kB / 1.501 GB, free: 476 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.5374, allocations: 202.1 kB / 1.501 GB, free: 272 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.5395, allocations: 0.5874 MB / 1.502 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/0.5418, allocations: 0.9297 MB / 1.503 GB, free: 14.75 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.5437, allocations: 1.487 MB / 1.504 GB, free: 13.26 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007626/0.5444, allocations: 429.5 kB / 1.504 GB, free: 12.82 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007774/0.5452, allocations: 0.5489 MB / 1.505 GB, free: 12.27 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/0.5459, allocations: 0.5446 MB / 1.506 GB, free: 11.72 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.5461, allocations: 124 kB / 1.506 GB, free: 11.6 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.5471, allocations: 0.5386 MB / 1.506 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.5474, allocations: 322.9 kB / 1.507 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005434/0.548, allocations: 0.5986 MB / 1.507 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002125/0.5501, allocations: 1.782 MB / 1.509 GB, free: 8.355 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.5501, allocations: 0 / 1.509 GB, free: 8.355 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5501, allocations: 0 / 1.509 GB, free: 8.355 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.5501, allocations: 0 / 1.509 GB, free: 8.355 MB / 1.201 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.002907/0.553, allocations: 1.495 MB / 1.51 GB, free: 6.82 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5531, allocations: 8.031 kB / 1.51 GB, free: 6.812 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.261e-05/0.5531, allocations: 26.19 kB / 1.51 GB, free: 6.789 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.5533, allocations: 143.8 kB / 1.51 GB, free: 6.641 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.5551, allocations: 263.9 kB / 1.511 GB, free: 6.383 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.5564, allocations: 0.7411 MB / 1.511 GB, free: 5.613 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.5565, allocations: 66 kB / 1.512 GB, free: 5.547 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.5566, allocations: 95.98 kB / 1.512 GB, free: 5.453 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.5583, allocations: 0.9886 MB / 1.513 GB, free: 4.426 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.5583, allocations: 0 / 1.513 GB, free: 4.426 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.5584, allocations: 36 kB / 1.513 GB, free: 4.391 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.5585, allocations: 24 kB / 1.513 GB, free: 4.367 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.5604, allocations: 1.155 MB / 1.514 GB, free: 3.211 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/0.565, allocations: 2.888 MB / 1.517 GB, free: 200 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.5671, allocations: 0.8593 MB / 1.517 GB, free: 15.32 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.5677, allocations: 300.5 kB / 1.518 GB, free: 15.04 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.892e-05/0.5678, allocations: 40.61 kB / 1.518 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009942/0.5688, allocations: 0.5393 MB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of pre-optimization done (n=88): time 2.254e-06/0.5688, allocations: 0 / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of matching and sorting (n=88): time 0.003421/0.5722, allocations: 1.227 MB / 1.519 GB, free: 13.2 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5723, allocations: 192.9 kB / 1.52 GB, free: 12.97 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.5733, allocations: 0.6764 MB / 1.52 GB, free: 12.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.232e-05/0.5734, allocations: 41.7 kB / 1.52 GB, free: 12.24 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.5737, allocations: 425.1 kB / 1.521 GB, free: 11.82 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.574, allocations: 297.5 kB / 1.521 GB, free: 11.52 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.5743, allocations: 158.6 kB / 1.521 GB, free: 11.36 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.5745, allocations: 398.7 kB / 1.522 GB, free: 10.96 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.5751, allocations: 261.9 kB / 1.522 GB, free: 10.71 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/0.5757, allocations: 390.5 kB / 1.522 GB, free: 10.3 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.577, allocations: 0.6281 MB / 1.523 GB, free: 9.66 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.577, allocations: 0 / 1.523 GB, free: 9.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002109/0.5791, allocations: 0.8764 MB / 1.524 GB, free: 8.773 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5791, allocations: 4 kB / 1.524 GB, free: 8.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5791, allocations: 96 / 1.524 GB, free: 8.77 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.5797, allocations: 76.78 kB / 1.524 GB, free: 8.691 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.5804, allocations: 179.7 kB / 1.524 GB, free: 8.516 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.5825, allocations: 1.53 MB / 1.525 GB, free: 6.863 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.5833, allocations: 103.5 kB / 1.525 GB, free: 6.762 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/0.5834, allocations: 43.91 kB / 1.526 GB, free: 6.719 MB / 1.217 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.0004916/0.5839, allocations: 273.9 kB / 1.526 GB, free: 6.441 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.5841, allocations: 87.44 kB / 1.526 GB, free: 6.355 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/0.5868, allocations: 1.199 MB / 1.527 GB, free: 5.145 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.5868, allocations: 12 kB / 1.527 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.5868, allocations: 0 / 1.527 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5868, allocations: 3.984 kB / 1.527 GB, free: 5.129 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003642/0.5904, allocations: 2.086 MB / 1.529 GB, free: 2.988 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5904, allocations: 4 kB / 1.529 GB, free: 2.984 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.5911, allocations: 167.7 kB / 1.529 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.5915, allocations: 72.8 kB / 1.529 GB, free: 2.746 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.5916, allocations: 27.97 kB / 1.529 GB, free: 2.719 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.5936, allocations: 1.562 MB / 1.531 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5936, allocations: 32 / 1.531 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.5959, allocations: 1.096 MB / 1.532 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.5964, allocations: 226.9 kB / 1.532 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.5966, allocations: 27.94 kB / 1.532 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007623/0.5973, allocations: 69.95 kB / 1.532 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.5975, allocations: 92.77 kB / 1.532 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.5976, allocations: 35.98 kB / 1.532 GB, free: 15.48 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007206/0.5983, allocations: 495 kB / 1.533 GB, free: 15 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5983, allocations: 0 / 1.533 GB, free: 15 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001054/0.5994, allocations: 347.1 kB / 1.533 GB, free: 14.66 MB / 1.232 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.004614/0.604, allocations: 2.162 MB / 1.535 GB, free: 12.64 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.6059, allocations: 0.8391 MB / 1.536 GB, free: 11.8 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6059, allocations: 4 kB / 1.536 GB, free: 11.79 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.607, allocations: 0.5236 MB / 1.537 GB, free: 11.26 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.6084, allocations: 310.9 kB / 1.537 GB, free: 10.98 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.6209, allocations: 6.663 MB / 1.543 GB, free: 4.16 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008546/0.6217, allocations: 1.059 MB / 1.544 GB, free: 3.074 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009842/0.6227, allocations: 279.2 kB / 1.545 GB, free: 2.797 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/0.6234, allocations: 423.2 kB / 1.545 GB, free: 2.383 MB / 1.232 GB Notification: Performance of SimCode: time 1.182e-06/0.6234, allocations: 0 / 1.545 GB, free: 2.383 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06136/0.6848, allocations: 23.99 MB / 1.569 GB, free: 10.61 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.14, allocations: 2.812 kB / 1.569 GB, free: 10.61 MB / 1.264 GB " [Timeout remaining time 285] (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.1310700540198]