Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001422/0.001422, allocations: 108.9 kB / 16.46 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.001496/0.001496, allocations: 216.2 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.423/1.423, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.246/3.246, allocations: 0.49 GB / 0.7916 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_12_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.002084/0.002084, allocations: 66.38 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007106/0.3381, allocations: 5.073 MB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.52, allocations: 154.1 MB / 1.476 GB, free: 3.547 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009637/0.521, allocations: 27.81 kB / 1.476 GB, free: 3.52 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.5218, allocations: 202.1 kB / 1.476 GB, free: 3.32 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.5242, allocations: 0.5849 MB / 1.477 GB, free: 2.734 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.5268, allocations: 0.9084 MB / 1.478 GB, free: 1.832 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.5293, allocations: 1.487 MB / 1.479 GB, free: 348 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.5303, allocations: 441 kB / 1.48 GB, free: 15.88 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.5314, allocations: 0.5372 MB / 1.48 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.5325, allocations: 0.5484 MB / 1.481 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003418/0.5328, allocations: 124 kB / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.5342, allocations: 0.5386 MB / 1.481 GB, free: 14.13 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.5347, allocations: 318.9 kB / 1.482 GB, free: 13.82 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008645/0.5355, allocations: 0.6024 MB / 1.482 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.5387, allocations: 1.774 MB / 1.484 GB, free: 11.43 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.5387, allocations: 0 / 1.484 GB, free: 11.43 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5387, allocations: 3.938 kB / 1.484 GB, free: 11.43 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.829e-05/0.5387, allocations: 0 / 1.484 GB, free: 11.43 MB / 1.186 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.003876/0.5426, allocations: 1.57 MB / 1.486 GB, free: 9.805 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.5426, allocations: 15.98 kB / 1.486 GB, free: 9.789 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002222/0.5429, allocations: 139.8 kB / 1.486 GB, free: 9.645 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.5449, allocations: 267.9 kB / 1.486 GB, free: 9.383 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.5465, allocations: 0.8057 MB / 1.487 GB, free: 8.535 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.049e-05/0.5466, allocations: 66 kB / 1.487 GB, free: 8.469 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.5467, allocations: 91.98 kB / 1.487 GB, free: 8.379 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.5487, allocations: 0.9769 MB / 1.488 GB, free: 7.363 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.5487, allocations: 3.938 kB / 1.488 GB, free: 7.359 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.5488, allocations: 36 kB / 1.488 GB, free: 7.324 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.5488, allocations: 24 kB / 1.488 GB, free: 7.301 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002305/0.5511, allocations: 1.163 MB / 1.489 GB, free: 6.133 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005502/0.5566, allocations: 2.947 MB / 1.492 GB, free: 3.059 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.5591, allocations: 0.9293 MB / 1.493 GB, free: 2.109 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.5597, allocations: 298.7 kB / 1.493 GB, free: 1.812 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.758e-05/0.5598, allocations: 38.69 kB / 1.493 GB, free: 1.777 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.5609, allocations: 0.5315 MB / 1.494 GB, free: 1.23 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 3.357e-06/0.5609, allocations: 0 / 1.494 GB, free: 1.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003804/0.5647, allocations: 1.306 MB / 1.495 GB, free: 15.9 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.5648, allocations: 192.9 kB / 1.495 GB, free: 15.66 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5661, allocations: 0.6763 MB / 1.496 GB, free: 14.98 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5662, allocations: 45.7 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.5666, allocations: 421.2 kB / 1.496 GB, free: 14.51 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.5669, allocations: 297.4 kB / 1.497 GB, free: 14.22 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.5672, allocations: 166.6 kB / 1.497 GB, free: 14.05 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.5674, allocations: 386.8 kB / 1.497 GB, free: 13.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005969/0.568, allocations: 269.8 kB / 1.497 GB, free: 13.4 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/0.5688, allocations: 390.5 kB / 1.498 GB, free: 12.99 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.5701, allocations: 0.6243 MB / 1.498 GB, free: 12.36 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5701, allocations: 0 / 1.498 GB, free: 12.36 MB / 1.201 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002501/0.5726, allocations: 0.8764 MB / 1.499 GB, free: 11.47 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5726, allocations: 4 kB / 1.499 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5727, allocations: 0 / 1.499 GB, free: 11.46 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/0.5733, allocations: 84.83 kB / 1.499 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.574, allocations: 171.7 kB / 1.5 GB, free: 11.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.5766, allocations: 1.642 MB / 1.501 GB, free: 9.426 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/0.5776, allocations: 103.4 kB / 1.501 GB, free: 9.324 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.5777, allocations: 27.98 kB / 1.501 GB, free: 9.297 MB / 1.201 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.0006148/0.5783, allocations: 279.4 kB / 1.501 GB, free: 9.012 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/0.5786, allocations: 91.44 kB / 1.502 GB, free: 8.922 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.5817, allocations: 1.191 MB / 1.503 GB, free: 7.715 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.5817, allocations: 12 kB / 1.503 GB, free: 7.703 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5817, allocations: 0 / 1.503 GB, free: 7.703 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.5817, allocations: 11.91 kB / 1.503 GB, free: 7.691 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004278/0.586, allocations: 2.107 MB / 1.505 GB, free: 5.523 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.586, allocations: 7.938 kB / 1.505 GB, free: 5.516 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/0.5868, allocations: 167.8 kB / 1.505 GB, free: 5.352 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.5872, allocations: 68.78 kB / 1.505 GB, free: 5.281 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.701e-05/0.5873, allocations: 31.97 kB / 1.505 GB, free: 5.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.5896, allocations: 1.666 MB / 1.507 GB, free: 3.441 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5896, allocations: 3.984 kB / 1.507 GB, free: 3.438 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.5924, allocations: 1.092 MB / 1.508 GB, free: 2.324 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007617/0.5932, allocations: 308 kB / 1.508 GB, free: 2.004 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.5934, allocations: 20 kB / 1.508 GB, free: 1.984 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008483/0.5942, allocations: 71.92 kB / 1.508 GB, free: 1.914 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.5944, allocations: 80.77 kB / 1.508 GB, free: 1.836 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.685e-05/0.5945, allocations: 43.97 kB / 1.508 GB, free: 1.793 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007994/0.5953, allocations: 499 kB / 1.509 GB, free: 1.312 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5953, allocations: 0 / 1.509 GB, free: 1.312 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001088/0.5964, allocations: 351.1 kB / 1.509 GB, free: 0.9688 MB / 1.201 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.005064/0.6015, allocations: 2.165 MB / 1.511 GB, free: 14.96 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.6039, allocations: 0.8351 MB / 1.512 GB, free: 14.11 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.6039, allocations: 0 / 1.512 GB, free: 14.11 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.6053, allocations: 0.5393 MB / 1.513 GB, free: 13.56 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.6069, allocations: 306.1 kB / 1.513 GB, free: 13.28 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.6204, allocations: 6.659 MB / 1.519 GB, free: 6.469 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009507/0.6214, allocations: 1.052 MB / 1.52 GB, free: 5.387 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009557/0.6223, allocations: 291.1 kB / 1.521 GB, free: 5.098 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006964/0.623, allocations: 419.2 kB / 1.521 GB, free: 4.688 MB / 1.217 GB Notification: Performance of SimCode: time 7.51e-07/0.623, allocations: 0 / 1.521 GB, free: 4.688 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06664/0.6897, allocations: 23.33 MB / 1.544 GB, free: 13.65 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.3, allocations: 13.92 kB / 1.544 GB, free: 13.64 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.272488486021757]