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.001697/0.001697, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002228/0.002228, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.809 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.331/3.331, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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="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.002098/0.002098, allocations: 76.66 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3777, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007684/0.3854, allocations: 4.553 MB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1878/0.5732, allocations: 132.8 MB / 1.498 GB, free: 4.23 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008817/0.5741, allocations: 23.81 kB / 1.498 GB, free: 4.207 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.575, allocations: 198.1 kB / 1.498 GB, free: 4.012 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.5772, allocations: 0.589 MB / 1.498 GB, free: 3.422 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.5796, allocations: 0.9014 MB / 1.499 GB, free: 2.527 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.5817, allocations: 1.495 MB / 1.501 GB, free: 1.027 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009122/0.5826, allocations: 409.5 kB / 1.501 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009398/0.5835, allocations: 0.5411 MB / 1.502 GB, free: 60 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008833/0.5844, allocations: 0.4978 MB / 1.502 GB, free: 15.55 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.5847, allocations: 124 kB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.586, allocations: 0.5151 MB / 1.503 GB, free: 14.92 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.5864, allocations: 311 kB / 1.503 GB, free: 14.62 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007275/0.5871, allocations: 0.4898 MB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.5898, allocations: 1.778 MB / 1.505 GB, free: 12.34 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5898, allocations: 3.984 kB / 1.505 GB, free: 12.34 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5898, allocations: 0 / 1.505 GB, free: 12.34 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.337e-05/0.5899, allocations: 0 / 1.505 GB, free: 12.34 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.003446/0.5933, allocations: 1.499 MB / 1.507 GB, free: 10.8 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5934, allocations: 8.031 kB / 1.507 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/0.5936, allocations: 143.8 kB / 1.507 GB, free: 10.64 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.5957, allocations: 264 kB / 1.507 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.5974, allocations: 0.7374 MB / 1.508 GB, free: 9.621 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/0.5975, allocations: 66 kB / 1.508 GB, free: 9.555 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.5977, allocations: 84 kB / 1.508 GB, free: 9.473 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.5998, allocations: 1.232 MB / 1.509 GB, free: 8.141 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.5999, allocations: 4 kB / 1.509 GB, free: 8.137 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.376e-05/0.6, allocations: 36 kB / 1.509 GB, free: 8.102 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.6, allocations: 27.94 kB / 1.509 GB, free: 8.074 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.6021, allocations: 1.112 MB / 1.51 GB, free: 6.961 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/0.6074, allocations: 2.411 MB / 1.513 GB, free: 4.488 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.6098, allocations: 0.8529 MB / 1.513 GB, free: 3.625 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.6105, allocations: 298.7 kB / 1.514 GB, free: 3.332 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/0.6105, allocations: 30.69 kB / 1.514 GB, free: 3.301 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.6118, allocations: 0.6319 MB / 1.514 GB, free: 2.629 MB / 1.201 GB Notification: Performance of pre-optimization done (n=88): time 3.006e-06/0.6118, allocations: 0 / 1.514 GB, free: 2.629 MB / 1.201 GB Notification: Performance of matching and sorting (n=88): time 0.003708/0.6155, allocations: 1.234 MB / 1.516 GB, free: 1.387 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.6156, allocations: 192.9 kB / 1.516 GB, free: 1.156 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.6168, allocations: 0.6724 MB / 1.516 GB, free: 484 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6169, allocations: 45.7 kB / 1.516 GB, free: 432 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.6173, allocations: 417.1 kB / 1.517 GB, free: 8 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004445/0.6178, allocations: 301.5 kB / 1.517 GB, free: 15.71 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.6181, allocations: 162.6 kB / 1.517 GB, free: 15.55 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0003532/0.6184, allocations: 390.7 kB / 1.518 GB, free: 15.16 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007423/0.6192, allocations: 273.9 kB / 1.518 GB, free: 14.89 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.6201, allocations: 0.5068 MB / 1.518 GB, free: 14.32 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.6214, allocations: 0.632 MB / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6214, allocations: 0 / 1.519 GB, free: 13.68 MB / 1.217 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002358/0.6238, allocations: 0.8687 MB / 1.52 GB, free: 12.8 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.6238, allocations: 7.938 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6238, allocations: 4 kB / 1.52 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.6244, allocations: 84.83 kB / 1.52 GB, free: 12.7 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007228/0.6251, allocations: 171.7 kB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.6278, allocations: 1.515 MB / 1.522 GB, free: 10.9 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008737/0.6287, allocations: 106 kB / 1.522 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.6288, allocations: 39.97 kB / 1.522 GB, free: 10.76 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.0006904/0.6295, allocations: 267.4 kB / 1.522 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003259/0.6298, allocations: 91.39 kB / 1.522 GB, free: 10.4 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.6327, allocations: 1.203 MB / 1.523 GB, free: 9.188 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.6327, allocations: 12 kB / 1.523 GB, free: 9.176 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6327, allocations: 8 kB / 1.523 GB, free: 9.168 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.6328, allocations: 3.984 kB / 1.523 GB, free: 9.164 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004053/0.6368, allocations: 1.946 MB / 1.525 GB, free: 7.164 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6368, allocations: 4 kB / 1.525 GB, free: 7.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007293/0.6375, allocations: 167.8 kB / 1.525 GB, free: 6.996 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/0.638, allocations: 64.8 kB / 1.525 GB, free: 6.93 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.6381, allocations: 35.97 kB / 1.525 GB, free: 6.895 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.6404, allocations: 1.555 MB / 1.527 GB, free: 5.219 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6404, allocations: 0 / 1.527 GB, free: 5.219 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.643, allocations: 1.1 MB / 1.528 GB, free: 4.098 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/0.6436, allocations: 222.9 kB / 1.528 GB, free: 3.879 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.6438, allocations: 27.98 kB / 1.528 GB, free: 3.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/0.6447, allocations: 67.92 kB / 1.528 GB, free: 3.785 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.6449, allocations: 84.78 kB / 1.528 GB, free: 3.703 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.3e-05/0.645, allocations: 43.97 kB / 1.529 GB, free: 3.66 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007927/0.6457, allocations: 495 kB / 1.529 GB, free: 3.184 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6457, allocations: 0 / 1.529 GB, free: 3.184 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001174/0.6469, allocations: 359 kB / 1.529 GB, free: 2.832 MB / 1.217 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.005039/0.652, allocations: 2.203 MB / 1.531 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002143/0.6541, allocations: 0.8391 MB / 1.532 GB, free: 15.96 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.6541, allocations: 4 kB / 1.532 GB, free: 15.96 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6553, allocations: 0.5236 MB / 1.533 GB, free: 15.42 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.6569, allocations: 308.5 kB / 1.533 GB, free: 15.14 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.6708, allocations: 6.663 MB / 1.54 GB, free: 8.316 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.6715, allocations: 470.4 kB / 1.54 GB, free: 7.828 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00105/0.6726, allocations: 283.1 kB / 1.54 GB, free: 7.547 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007395/0.6733, allocations: 419.2 kB / 1.541 GB, free: 7.141 MB / 1.232 GB Notification: Performance of SimCode: time 2.525e-06/0.6733, allocations: 0 / 1.541 GB, free: 7.141 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09535/0.7687, allocations: 24.93 MB / 1.565 GB, free: 14.52 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.94, allocations: 4.109 kB / 1.565 GB, free: 14.52 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 & 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: 22.08022540109232]