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.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.001684/0.001684, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00212/0.00212, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.984 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.361/3.361, allocations: 0.505 GB / 0.8101 GB, free: 22.09 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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.002597/0.002597, allocations: 71.34 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3852, allocations: 180.2 MB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007104/0.3924, allocations: 4.887 MB / 1.358 GB, free: 3.605 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1984/0.5908, allocations: 154.1 MB / 1.508 GB, free: 8.91 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.5918, allocations: 19.81 kB / 1.508 GB, free: 8.891 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009237/0.5928, allocations: 202.2 kB / 1.508 GB, free: 8.691 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.5951, allocations: 0.5598 MB / 1.509 GB, free: 8.133 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.5974, allocations: 0.8768 MB / 1.51 GB, free: 7.262 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00206/0.5995, allocations: 1.39 MB / 1.511 GB, free: 5.863 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008075/0.6003, allocations: 413.8 kB / 1.511 GB, free: 5.434 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008605/0.6011, allocations: 0.4944 MB / 1.512 GB, free: 4.938 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/0.6018, allocations: 0.4957 MB / 1.512 GB, free: 4.441 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.602, allocations: 116 kB / 1.513 GB, free: 4.328 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.6031, allocations: 0.5152 MB / 1.513 GB, free: 3.812 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.6034, allocations: 303 kB / 1.513 GB, free: 3.516 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.604, allocations: 0.5558 MB / 1.514 GB, free: 2.957 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.6064, allocations: 1.658 MB / 1.516 GB, free: 1.293 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6064, allocations: 4 kB / 1.516 GB, free: 1.289 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6064, allocations: 3.938 kB / 1.516 GB, free: 1.285 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.483e-05/0.6065, allocations: 0 / 1.516 GB, free: 1.285 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002837/0.6093, allocations: 1.403 MB / 1.517 GB, free: 15.85 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.6094, allocations: 12.03 kB / 1.517 GB, free: 15.84 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.6095, allocations: 135.3 kB / 1.517 GB, free: 15.7 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.611, allocations: 228 kB / 1.517 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.6124, allocations: 0.7101 MB / 1.518 GB, free: 14.74 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.957e-05/0.6125, allocations: 66 kB / 1.518 GB, free: 14.68 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6126, allocations: 76 kB / 1.518 GB, free: 14.6 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.6142, allocations: 0.9105 MB / 1.519 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.6142, allocations: 0 / 1.519 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.6143, allocations: 32 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.6143, allocations: 20 kB / 1.519 GB, free: 13.6 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.6161, allocations: 1.097 MB / 1.52 GB, free: 12.5 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.6205, allocations: 2.677 MB / 1.523 GB, free: 9.691 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.622, allocations: 0.7468 MB / 1.523 GB, free: 8.934 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.6225, allocations: 274.7 kB / 1.524 GB, free: 8.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.675e-05/0.6226, allocations: 40.53 kB / 1.524 GB, free: 8.621 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008936/0.6235, allocations: 487.3 kB / 1.524 GB, free: 8.125 MB / 1.217 GB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/0.6235, allocations: 4 kB / 1.524 GB, free: 8.121 MB / 1.217 GB Notification: Performance of matching and sorting (n=79): time 0.003329/0.6268, allocations: 1.115 MB / 1.525 GB, free: 7 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.6269, allocations: 188.6 kB / 1.525 GB, free: 6.773 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009463/0.6279, allocations: 0.6488 MB / 1.526 GB, free: 6.117 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.622e-05/0.628, allocations: 45.7 kB / 1.526 GB, free: 6.066 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.6283, allocations: 401 kB / 1.527 GB, free: 5.668 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.6286, allocations: 265.7 kB / 1.527 GB, free: 5.406 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.6288, allocations: 146.6 kB / 1.527 GB, free: 5.258 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.629, allocations: 386.7 kB / 1.527 GB, free: 4.871 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.6295, allocations: 249.9 kB / 1.528 GB, free: 4.629 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/0.6301, allocations: 350.5 kB / 1.528 GB, free: 4.258 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.6312, allocations: 0.5798 MB / 1.528 GB, free: 3.668 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6312, allocations: 0 / 1.528 GB, free: 3.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001984/0.6331, allocations: 0.7945 MB / 1.529 GB, free: 2.863 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6332, allocations: 4 kB / 1.529 GB, free: 2.859 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.6332, allocations: 4 kB / 1.529 GB, free: 2.855 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/0.6338, allocations: 84.86 kB / 1.529 GB, free: 2.77 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.6344, allocations: 143.8 kB / 1.529 GB, free: 2.629 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.6367, allocations: 1.535 MB / 1.531 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.6375, allocations: 97.39 kB / 1.531 GB, free: 0.8828 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.6376, allocations: 27.98 kB / 1.531 GB, free: 0.8555 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.0005158/0.6381, allocations: 265.6 kB / 1.531 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6383, allocations: 87.44 kB / 1.531 GB, free: 0.5 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.6406, allocations: 1.046 MB / 1.532 GB, free: 15.44 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.6407, allocations: 15.98 kB / 1.532 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6407, allocations: 0 / 1.532 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.6407, allocations: 7.922 kB / 1.532 GB, free: 15.41 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.6441, allocations: 1.899 MB / 1.534 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6441, allocations: 4 kB / 1.534 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005768/0.6447, allocations: 143.8 kB / 1.534 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.6452, allocations: 68.78 kB / 1.534 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.6452, allocations: 23.98 kB / 1.535 GB, free: 13.22 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.6472, allocations: 1.555 MB / 1.536 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6472, allocations: 0 / 1.536 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.6494, allocations: 0.9945 MB / 1.537 GB, free: 10.53 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.6499, allocations: 203.1 kB / 1.537 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.65, allocations: 20 kB / 1.537 GB, free: 10.31 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.6506, allocations: 63.92 kB / 1.537 GB, free: 10.25 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.6508, allocations: 76.8 kB / 1.537 GB, free: 10.17 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.6509, allocations: 31.98 kB / 1.537 GB, free: 10.14 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006733/0.6515, allocations: 475 kB / 1.538 GB, free: 9.684 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6515, allocations: 0 / 1.538 GB, free: 9.684 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009536/0.6525, allocations: 327 kB / 1.538 GB, free: 9.363 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.00429/0.6568, allocations: 2.033 MB / 1.54 GB, free: 7.488 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.6586, allocations: 0.7609 MB / 1.541 GB, free: 6.711 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.6586, allocations: 11.92 kB / 1.541 GB, free: 6.699 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009169/0.6595, allocations: 496.4 kB / 1.541 GB, free: 6.203 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.6608, allocations: 299.6 kB / 1.542 GB, free: 5.93 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.6719, allocations: 6.212 MB / 1.548 GB, free: 15.57 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.6726, allocations: 1.023 MB / 1.549 GB, free: 14.51 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008511/0.6735, allocations: 266.6 kB / 1.549 GB, free: 14.25 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.674, allocations: 383.3 kB / 1.549 GB, free: 13.88 MB / 1.248 GB Notification: Performance of SimCode: time 8.81e-07/0.674, allocations: 8 kB / 1.549 GB, free: 13.87 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06396/0.738, allocations: 22.23 MB / 1.571 GB, free: 7.836 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.26, allocations: 7.984 kB / 1.571 GB, free: 7.828 MB / 1.264 GB " [Timeout remaining time 286] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: 21.556451057999766]