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.001704/0.001704, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00192/0.00192, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.831/1.831, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.003/3.003, allocations: 0.505 GB / 0.8066 GB, free: 23.06 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",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.00191/0.00191, allocations: 67.33 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.301, allocations: 180.2 MB / 1.348 GB, free: 9.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007102/0.3081, allocations: 5.069 MB / 1.353 GB, free: 4.848 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1764/0.4845, allocations: 154.1 MB / 1.503 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009599/0.4855, allocations: 23.81 kB / 1.503 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008885/0.4864, allocations: 198.1 kB / 1.503 GB, free: 9.91 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.4886, allocations: 0.5828 MB / 1.504 GB, free: 9.328 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.4909, allocations: 0.9133 MB / 1.505 GB, free: 8.422 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.4928, allocations: 1.483 MB / 1.506 GB, free: 6.93 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/0.4937, allocations: 429.1 kB / 1.507 GB, free: 6.484 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008673/0.4945, allocations: 0.5489 MB / 1.507 GB, free: 5.934 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008001/0.4953, allocations: 0.5523 MB / 1.508 GB, free: 5.379 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.4956, allocations: 128 kB / 1.508 GB, free: 5.254 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.4967, allocations: 0.5309 MB / 1.508 GB, free: 4.723 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.497, allocations: 319 kB / 1.509 GB, free: 4.41 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006933/0.4977, allocations: 0.5985 MB / 1.509 GB, free: 3.809 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.5001, allocations: 1.774 MB / 1.511 GB, free: 2.027 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5001, allocations: 4 kB / 1.511 GB, free: 2.023 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5001, allocations: 3.938 kB / 1.511 GB, free: 2.02 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.231e-05/0.5001, allocations: 0 / 1.511 GB, free: 2.02 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.002854/0.503, allocations: 1.574 MB / 1.513 GB, free: 400 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.503, allocations: 11.98 kB / 1.513 GB, free: 388 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.5032, allocations: 139.8 kB / 1.513 GB, free: 240 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.5051, allocations: 272 kB / 1.513 GB, free: 15.96 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.5064, allocations: 0.8056 MB / 1.514 GB, free: 15.12 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.5064, allocations: 66 kB / 1.514 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.5066, allocations: 88 kB / 1.514 GB, free: 14.97 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.5084, allocations: 0.9769 MB / 1.515 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5084, allocations: 0 / 1.515 GB, free: 13.95 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/0.5085, allocations: 40 kB / 1.515 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.5085, allocations: 20 kB / 1.515 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.5105, allocations: 1.155 MB / 1.516 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/0.5152, allocations: 2.966 MB / 1.519 GB, free: 9.641 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/0.5173, allocations: 0.9303 MB / 1.52 GB, free: 8.684 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005979/0.5179, allocations: 290.7 kB / 1.52 GB, free: 8.398 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.969e-05/0.518, allocations: 34.66 kB / 1.52 GB, free: 8.367 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009765/0.5189, allocations: 0.5392 MB / 1.521 GB, free: 7.809 MB / 1.217 GB Notification: Performance of pre-optimization done (n=88): time 2.474e-06/0.519, allocations: 0 / 1.521 GB, free: 7.809 MB / 1.217 GB Notification: Performance of matching and sorting (n=88): time 0.003501/0.5225, allocations: 1.302 MB / 1.522 GB, free: 6.48 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.5226, allocations: 192.9 kB / 1.522 GB, free: 6.25 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/0.5235, allocations: 0.6803 MB / 1.523 GB, free: 5.562 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.5236, allocations: 49.64 kB / 1.523 GB, free: 5.508 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.524, allocations: 413.2 kB / 1.523 GB, free: 5.098 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.5242, allocations: 301.4 kB / 1.524 GB, free: 4.801 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.5245, allocations: 162.6 kB / 1.524 GB, free: 4.637 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.5247, allocations: 394.8 kB / 1.524 GB, free: 4.242 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.5253, allocations: 269.8 kB / 1.524 GB, free: 3.977 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.526, allocations: 378.5 kB / 1.525 GB, free: 3.582 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.5273, allocations: 0.632 MB / 1.525 GB, free: 2.938 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5273, allocations: 0 / 1.525 GB, free: 2.938 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002142/0.5294, allocations: 0.8764 MB / 1.526 GB, free: 2.051 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5294, allocations: 4 kB / 1.526 GB, free: 2.047 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5294, allocations: 4.094 kB / 1.526 GB, free: 2.043 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/0.53, allocations: 84.77 kB / 1.526 GB, free: 1.957 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.5307, allocations: 167.8 kB / 1.526 GB, free: 1.793 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.533, allocations: 1.634 MB / 1.528 GB, free: 12 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.5339, allocations: 107.7 kB / 1.528 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.459e-05/0.5339, allocations: 35.98 kB / 1.528 GB, free: 15.87 MB / 1.232 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.0004855/0.5344, allocations: 267.4 kB / 1.528 GB, free: 15.6 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.5347, allocations: 87.44 kB / 1.529 GB, free: 15.51 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.5374, allocations: 1.199 MB / 1.53 GB, free: 14.3 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.5374, allocations: 12 kB / 1.53 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5374, allocations: 0 / 1.53 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.5375, allocations: 7.969 kB / 1.53 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.5412, allocations: 2.114 MB / 1.532 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5412, allocations: 0 / 1.532 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/0.5419, allocations: 167.8 kB / 1.532 GB, free: 11.95 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.5423, allocations: 76.72 kB / 1.532 GB, free: 11.87 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/0.5424, allocations: 27.97 kB / 1.532 GB, free: 11.84 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.5445, allocations: 1.662 MB / 1.534 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5445, allocations: 3.938 kB / 1.534 GB, free: 10.03 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.5468, allocations: 1.1 MB / 1.535 GB, free: 8.91 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.5473, allocations: 300.1 kB / 1.535 GB, free: 8.598 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5474, allocations: 23.98 kB / 1.535 GB, free: 8.574 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/0.5482, allocations: 71.92 kB / 1.535 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.5483, allocations: 84.83 kB / 1.535 GB, free: 8.422 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.5484, allocations: 39.97 kB / 1.535 GB, free: 8.383 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006802/0.5491, allocations: 491 kB / 1.536 GB, free: 7.91 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.5491, allocations: 0 / 1.536 GB, free: 7.91 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009512/0.5501, allocations: 351.1 kB / 1.536 GB, free: 7.566 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.004539/0.5546, allocations: 2.178 MB / 1.538 GB, free: 5.535 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.5566, allocations: 0.8314 MB / 1.539 GB, free: 4.695 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5566, allocations: 3.938 kB / 1.539 GB, free: 4.691 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.5577, allocations: 0.5275 MB / 1.54 GB, free: 4.152 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5591, allocations: 307.1 kB / 1.54 GB, free: 3.871 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.5709, allocations: 6.659 MB / 1.546 GB, free: 13.05 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/0.5717, allocations: 1.052 MB / 1.547 GB, free: 11.98 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008634/0.5725, allocations: 279.2 kB / 1.548 GB, free: 11.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006906/0.5732, allocations: 427.2 kB / 1.548 GB, free: 11.28 MB / 1.248 GB Notification: Performance of SimCode: time 7.52e-07/0.5732, allocations: 3.938 kB / 1.548 GB, free: 11.28 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06398/0.6372, allocations: 23.34 MB / 1.571 GB, free: 4.234 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.44, allocations: 13.36 kB / 1.571 GB, free: 4.227 MB / 1.264 GB " [Timeout remaining time 286] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 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.csv","/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] "" Variables in the reference:time,solAzi.solAzi Variables in the result:time,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solAzi.solAzi,solAzi.solTim [Calling sys.exit(0), Time elapsed: 20.409660067176446]