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.001635/0.001635, allocations: 109.2 kB / 16.45 MB, free: 6.508 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.001965/0.001965, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.428/1.428, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.042/3.042, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.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.002263/0.002263, allocations: 72.94 kB / 1.172 GB, free: 17.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3097, allocations: 180.2 MB / 1.348 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007101/0.3168, allocations: 4.841 MB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.4911, allocations: 154 MB / 1.503 GB, free: 10.7 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.4919, allocations: 15.88 kB / 1.503 GB, free: 10.69 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007641/0.4927, allocations: 202.2 kB / 1.503 GB, free: 10.49 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.4947, allocations: 0.5586 MB / 1.504 GB, free: 9.93 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.4969, allocations: 0.8421 MB / 1.504 GB, free: 9.094 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.4988, allocations: 1.39 MB / 1.506 GB, free: 7.695 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009301/0.4998, allocations: 413.4 kB / 1.506 GB, free: 7.266 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008924/0.5007, allocations: 0.5022 MB / 1.507 GB, free: 6.762 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.5015, allocations: 0.4961 MB / 1.507 GB, free: 6.266 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.5018, allocations: 116 kB / 1.507 GB, free: 6.152 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.5029, allocations: 0.5074 MB / 1.508 GB, free: 5.645 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.5033, allocations: 303 kB / 1.508 GB, free: 5.348 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007219/0.504, allocations: 0.548 MB / 1.509 GB, free: 4.797 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002637/0.5066, allocations: 1.669 MB / 1.51 GB, free: 3.121 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5066, allocations: 4 kB / 1.51 GB, free: 3.117 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5066, allocations: 4 kB / 1.51 GB, free: 3.113 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.369e-05/0.5067, allocations: 0 / 1.51 GB, free: 3.113 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.003269/0.51, allocations: 1.482 MB / 1.512 GB, free: 1.578 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.51, allocations: 15.98 kB / 1.512 GB, free: 1.562 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/0.5102, allocations: 131.3 kB / 1.512 GB, free: 1.426 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.5117, allocations: 224 kB / 1.512 GB, free: 1.207 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.5132, allocations: 0.7785 MB / 1.513 GB, free: 396 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.28e-05/0.5132, allocations: 65.94 kB / 1.513 GB, free: 328 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.5134, allocations: 87.92 kB / 1.513 GB, free: 240 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.5151, allocations: 0.9028 MB / 1.514 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5151, allocations: 0 / 1.514 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/0.5152, allocations: 36 kB / 1.514 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.5153, allocations: 20 kB / 1.514 GB, free: 15.23 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.5172, allocations: 1.097 MB / 1.515 GB, free: 14.13 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/0.5216, allocations: 2.716 MB / 1.518 GB, free: 11.29 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.5232, allocations: 0.8223 MB / 1.518 GB, free: 10.45 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.5238, allocations: 274.7 kB / 1.519 GB, free: 10.18 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/0.5239, allocations: 32.56 kB / 1.519 GB, free: 10.14 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009098/0.5248, allocations: 495.2 kB / 1.519 GB, free: 9.641 MB / 1.217 GB Notification: Performance of pre-optimization done (n=79): time 3.236e-06/0.5248, allocations: 0 / 1.519 GB, free: 9.641 MB / 1.217 GB Notification: Performance of matching and sorting (n=79): time 0.003345/0.5281, allocations: 1.19 MB / 1.52 GB, free: 8.422 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.5282, allocations: 188.6 kB / 1.52 GB, free: 8.195 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.5292, allocations: 0.6449 MB / 1.521 GB, free: 7.543 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.525e-05/0.5293, allocations: 45.7 kB / 1.521 GB, free: 7.492 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.5297, allocations: 405 kB / 1.522 GB, free: 7.09 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.53, allocations: 269.7 kB / 1.522 GB, free: 6.824 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.5302, allocations: 150.6 kB / 1.522 GB, free: 6.672 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.5304, allocations: 386.7 kB / 1.522 GB, free: 6.285 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/0.5309, allocations: 237.9 kB / 1.523 GB, free: 6.051 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/0.5316, allocations: 358.5 kB / 1.523 GB, free: 5.676 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.5327, allocations: 0.576 MB / 1.523 GB, free: 5.086 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.5327, allocations: 0 / 1.523 GB, free: 5.086 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002068/0.5348, allocations: 0.7984 MB / 1.524 GB, free: 4.281 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5348, allocations: 4 kB / 1.524 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5348, allocations: 0 / 1.524 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.5354, allocations: 84.86 kB / 1.524 GB, free: 4.191 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.5361, allocations: 151.8 kB / 1.524 GB, free: 4.043 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.5384, allocations: 1.64 MB / 1.526 GB, free: 2.254 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/0.5391, allocations: 79.52 kB / 1.526 GB, free: 2.176 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/0.5392, allocations: 31.98 kB / 1.526 GB, free: 2.145 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.0005194/0.5397, allocations: 265.7 kB / 1.526 GB, free: 1.875 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.54, allocations: 91.38 kB / 1.527 GB, free: 1.785 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.5425, allocations: 1.046 MB / 1.528 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.5426, allocations: 11.98 kB / 1.528 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5426, allocations: 0 / 1.528 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.5426, allocations: 11.92 kB / 1.528 GB, free: 0.707 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.5462, allocations: 1.92 MB / 1.529 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.5462, allocations: 0 / 1.529 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.5468, allocations: 143.7 kB / 1.53 GB, free: 14.58 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.5473, allocations: 72.78 kB / 1.53 GB, free: 14.5 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/0.5473, allocations: 31.97 kB / 1.53 GB, free: 14.47 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.5494, allocations: 1.662 MB / 1.531 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5494, allocations: 32 / 1.531 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.5516, allocations: 0.9906 MB / 1.532 GB, free: 11.66 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.552, allocations: 280.1 kB / 1.533 GB, free: 11.37 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.5522, allocations: 24 kB / 1.533 GB, free: 11.34 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000699/0.5529, allocations: 63.92 kB / 1.533 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.5531, allocations: 68.91 kB / 1.533 GB, free: 11.21 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.913e-05/0.5532, allocations: 35.97 kB / 1.533 GB, free: 11.18 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007015/0.5539, allocations: 471 kB / 1.533 GB, free: 10.72 MB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.5539, allocations: 0 / 1.533 GB, free: 10.72 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009493/0.5548, allocations: 315.2 kB / 1.533 GB, free: 10.41 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.00436/0.5592, allocations: 2.04 MB / 1.535 GB, free: 8.527 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.561, allocations: 0.7689 MB / 1.536 GB, free: 7.746 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.561, allocations: 0 / 1.536 GB, free: 7.746 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.562, allocations: 492.2 kB / 1.537 GB, free: 7.254 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.5634, allocations: 303.9 kB / 1.537 GB, free: 6.973 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.5748, allocations: 6.226 MB / 1.543 GB, free: 0.5977 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/0.5756, allocations: 1.02 MB / 1.544 GB, free: 15.55 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008819/0.5764, allocations: 270.6 kB / 1.544 GB, free: 15.28 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/0.5771, allocations: 379.3 kB / 1.545 GB, free: 14.91 MB / 1.248 GB Notification: Performance of SimCode: time 8.21e-07/0.5771, allocations: 0 / 1.545 GB, free: 14.91 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07757/0.6546, allocations: 21.71 MB / 1.566 GB, free: 9.504 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.49, allocations: 23.05 kB / 1.566 GB, free: 9.484 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: 20.034180224873126]