Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.001895/0.001895, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.002217/0.002217, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.175/3.175, allocations: 0.505 GB / 0.8066 GB, free: 23.06 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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001967/0.001967, allocations: 71.2 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3305, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007113/0.3377, allocations: 4.886 MB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.5138, allocations: 154 MB / 1.503 GB, free: 10.53 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008538/0.5146, allocations: 27.81 kB / 1.503 GB, free: 10.5 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007569/0.5154, allocations: 198.2 kB / 1.503 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.5173, allocations: 0.5634 MB / 1.504 GB, free: 9.746 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.5195, allocations: 0.8586 MB / 1.504 GB, free: 8.895 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.5214, allocations: 1.401 MB / 1.506 GB, free: 7.484 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000858/0.5222, allocations: 425.2 kB / 1.506 GB, free: 7.043 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008568/0.5231, allocations: 0.5023 MB / 1.507 GB, free: 6.539 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007735/0.5239, allocations: 0.5134 MB / 1.507 GB, free: 6.023 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.5241, allocations: 120 kB / 1.507 GB, free: 5.906 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.5252, allocations: 0.5113 MB / 1.508 GB, free: 5.395 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.5255, allocations: 295.1 kB / 1.508 GB, free: 5.105 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000655/0.5261, allocations: 0.5674 MB / 1.509 GB, free: 4.535 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.5285, allocations: 1.693 MB / 1.51 GB, free: 2.836 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5285, allocations: 7.938 kB / 1.51 GB, free: 2.828 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5285, allocations: 0 / 1.51 GB, free: 2.828 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.5285, allocations: 4 kB / 1.51 GB, free: 2.824 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002631/0.5311, allocations: 1.494 MB / 1.512 GB, free: 1.277 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.5312, allocations: 11.98 kB / 1.512 GB, free: 1.266 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.5313, allocations: 135.4 kB / 1.512 GB, free: 1.125 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.5329, allocations: 240 kB / 1.512 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.5342, allocations: 0.7863 MB / 1.513 GB, free: 64 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.422e-05/0.5343, allocations: 66.05 kB / 1.513 GB, free: 15.99 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.5344, allocations: 83.98 kB / 1.513 GB, free: 15.91 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.536, allocations: 0.9183 MB / 1.514 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.536, allocations: 0 / 1.514 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.5361, allocations: 43.98 kB / 1.514 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.5361, allocations: 20 kB / 1.514 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.5379, allocations: 1.108 MB / 1.515 GB, free: 13.78 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004204/0.5421, allocations: 2.771 MB / 1.518 GB, free: 10.88 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.5437, allocations: 0.8491 MB / 1.519 GB, free: 10.01 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.5443, allocations: 278.7 kB / 1.519 GB, free: 9.734 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.5443, allocations: 28.61 kB / 1.519 GB, free: 9.707 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008609/0.5452, allocations: 0.4917 MB / 1.519 GB, free: 9.195 MB / 1.217 GB Notification: Performance of pre-optimization done (n=79): time 1.923e-06/0.5452, allocations: 3.938 kB / 1.519 GB, free: 9.191 MB / 1.217 GB Notification: Performance of matching and sorting (n=79): time 0.003224/0.5484, allocations: 1.19 MB / 1.521 GB, free: 7.973 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5486, allocations: 192.6 kB / 1.521 GB, free: 7.742 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009144/0.5495, allocations: 0.6489 MB / 1.521 GB, free: 7.086 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.5495, allocations: 41.7 kB / 1.521 GB, free: 7.039 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.5499, allocations: 405 kB / 1.522 GB, free: 6.637 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.5502, allocations: 269.7 kB / 1.522 GB, free: 6.371 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.5504, allocations: 150.6 kB / 1.522 GB, free: 6.219 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002787/0.5507, allocations: 390.7 kB / 1.523 GB, free: 5.828 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.5512, allocations: 245.9 kB / 1.523 GB, free: 5.586 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.5519, allocations: 366.5 kB / 1.523 GB, free: 5.203 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.553, allocations: 0.576 MB / 1.524 GB, free: 4.617 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.553, allocations: 0 / 1.524 GB, free: 4.617 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001978/0.555, allocations: 0.7985 MB / 1.525 GB, free: 3.809 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.555, allocations: 4.094 kB / 1.525 GB, free: 3.805 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.555, allocations: 4 kB / 1.525 GB, free: 3.801 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.5556, allocations: 88.7 kB / 1.525 GB, free: 3.711 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.5563, allocations: 151.7 kB / 1.525 GB, free: 3.562 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.5586, allocations: 1.646 MB / 1.526 GB, free: 1.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.5594, allocations: 89.92 kB / 1.526 GB, free: 1.684 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.5595, allocations: 31.98 kB / 1.527 GB, free: 1.652 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: 15 (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 (85): * Single equations (assignments): 84 * 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.0005124/0.56, allocations: 269.6 kB / 1.527 GB, free: 1.379 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.5602, allocations: 83.48 kB / 1.527 GB, free: 1.297 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.5627, allocations: 1.066 MB / 1.528 GB, free: 220 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5627, allocations: 11.94 kB / 1.528 GB, free: 208 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5627, allocations: 4 kB / 1.528 GB, free: 204 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.5627, allocations: 3.984 kB / 1.528 GB, free: 200 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.5663, allocations: 1.971 MB / 1.53 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5664, allocations: 0 / 1.53 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.567, allocations: 143.8 kB / 1.53 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/0.5674, allocations: 76.78 kB / 1.53 GB, free: 13.94 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.5675, allocations: 19.98 kB / 1.53 GB, free: 13.92 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.5697, allocations: 1.685 MB / 1.532 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5697, allocations: 0 / 1.532 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.5718, allocations: 0.9984 MB / 1.533 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.5723, allocations: 284.2 kB / 1.533 GB, free: 10.78 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.5724, allocations: 16 kB / 1.533 GB, free: 10.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.5731, allocations: 63.92 kB / 1.533 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.5733, allocations: 72.91 kB / 1.533 GB, free: 10.63 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.5733, allocations: 36.11 kB / 1.533 GB, free: 10.59 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006795/0.574, allocations: 475 kB / 1.534 GB, free: 10.14 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.574, allocations: 0 / 1.534 GB, free: 10.14 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009336/0.575, allocations: 319.2 kB / 1.534 GB, free: 9.824 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: 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.004417/0.5794, allocations: 2.05 MB / 1.536 GB, free: 7.926 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.5812, allocations: 0.7648 MB / 1.537 GB, free: 7.148 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5812, allocations: 4 kB / 1.537 GB, free: 7.145 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5822, allocations: 0.4925 MB / 1.537 GB, free: 6.641 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.5836, allocations: 314 kB / 1.537 GB, free: 6.355 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.5953, allocations: 6.273 MB / 1.544 GB, free: 15.93 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/0.5961, allocations: 1.02 MB / 1.545 GB, free: 14.88 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008557/0.597, allocations: 262.7 kB / 1.545 GB, free: 14.62 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000622/0.5976, allocations: 383.3 kB / 1.545 GB, free: 14.25 MB / 1.248 GB Notification: Performance of SimCode: time 9.02e-07/0.5976, allocations: 0 / 1.545 GB, free: 14.25 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06255/0.6601, allocations: 21.97 MB / 1.567 GB, free: 8.562 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.51, allocations: 7.969 kB / 1.567 GB, free: 8.555 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable zen.y in file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.y from file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.30690036690794]