Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001665/0.001665, allocations: 109.2 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.001992/0.001992, allocations: 219 kB / 22.26 MB, free: 5.125 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.988 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.083/3.083, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.003035/0.003035, allocations: 64.23 kB / 1.177 GB, free: 17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.396, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007164/0.4031, allocations: 5.046 MB / 1.358 GB, free: 3.367 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.579, allocations: 154.2 MB / 1.508 GB, free: 8.617 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.58, allocations: 23.81 kB / 1.508 GB, free: 8.594 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.5807, allocations: 198.2 kB / 1.509 GB, free: 8.398 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.5827, allocations: 0.5802 MB / 1.509 GB, free: 7.82 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.5847, allocations: 0.8966 MB / 1.51 GB, free: 6.93 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.5865, allocations: 1.464 MB / 1.511 GB, free: 5.457 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008005/0.5874, allocations: 414.2 kB / 1.512 GB, free: 5.027 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.5882, allocations: 0.5295 MB / 1.512 GB, free: 4.496 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007144/0.5889, allocations: 0.5407 MB / 1.513 GB, free: 3.953 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.5891, allocations: 120 kB / 1.513 GB, free: 3.836 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.5902, allocations: 0.5113 MB / 1.513 GB, free: 3.324 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.5904, allocations: 307 kB / 1.514 GB, free: 3.023 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.591, allocations: 0.583 MB / 1.514 GB, free: 2.438 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.5932, allocations: 1.724 MB / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5932, allocations: 0 / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5932, allocations: 0 / 1.516 GB, free: 0.707 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.5932, allocations: 0 / 1.516 GB, free: 0.707 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002725/0.596, allocations: 1.468 MB / 1.517 GB, free: 15.2 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.596, allocations: 12.03 kB / 1.517 GB, free: 15.19 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.5962, allocations: 139.6 kB / 1.518 GB, free: 15.05 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.5978, allocations: 248 kB / 1.518 GB, free: 14.8 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5991, allocations: 0.7296 MB / 1.519 GB, free: 14.05 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.5992, allocations: 66 kB / 1.519 GB, free: 13.98 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.5993, allocations: 88 kB / 1.519 GB, free: 13.9 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.6009, allocations: 0.9457 MB / 1.52 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6009, allocations: 3.938 kB / 1.52 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/0.601, allocations: 32 kB / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.601, allocations: 24 kB / 1.52 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.6028, allocations: 1.136 MB / 1.521 GB, free: 11.71 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004292/0.6071, allocations: 2.748 MB / 1.523 GB, free: 8.84 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.6086, allocations: 0.7871 MB / 1.524 GB, free: 8.043 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.6091, allocations: 290.7 kB / 1.524 GB, free: 7.758 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.382e-05/0.6092, allocations: 32.69 kB / 1.525 GB, free: 7.727 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008791/0.6101, allocations: 0.5199 MB / 1.525 GB, free: 7.191 MB / 1.217 GB Notification: Performance of pre-optimization done (n=85): time 2.495e-06/0.6101, allocations: 0 / 1.525 GB, free: 7.191 MB / 1.217 GB Notification: Performance of matching and sorting (n=85): time 0.003297/0.6134, allocations: 1.188 MB / 1.526 GB, free: 6 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.6135, allocations: 196.8 kB / 1.526 GB, free: 5.762 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009094/0.6144, allocations: 0.6607 MB / 1.527 GB, free: 5.094 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/0.6145, allocations: 45.7 kB / 1.527 GB, free: 5.043 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.6148, allocations: 417 kB / 1.527 GB, free: 4.629 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.6151, allocations: 289.6 kB / 1.528 GB, free: 4.344 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.6153, allocations: 154.6 kB / 1.528 GB, free: 4.188 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.6155, allocations: 390.8 kB / 1.528 GB, free: 3.797 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.616, allocations: 257.9 kB / 1.529 GB, free: 3.547 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.6167, allocations: 375.4 kB / 1.529 GB, free: 3.145 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.6178, allocations: 0.6172 MB / 1.529 GB, free: 2.516 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6178, allocations: 0 / 1.529 GB, free: 2.516 MB / 1.217 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002018/0.6198, allocations: 0.8413 MB / 1.53 GB, free: 1.664 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6198, allocations: 11.94 kB / 1.53 GB, free: 1.652 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.6198, allocations: 0 / 1.53 GB, free: 1.652 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.6204, allocations: 88.83 kB / 1.53 GB, free: 1.562 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/0.6211, allocations: 155.8 kB / 1.531 GB, free: 1.41 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.6235, allocations: 1.527 MB / 1.532 GB, free: 15.76 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/0.6243, allocations: 91.64 kB / 1.532 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.6243, allocations: 47.84 kB / 1.532 GB, free: 15.62 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (93): * Single equations (assignments): 92 * 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.0004746/0.6248, allocations: 274 kB / 1.532 GB, free: 15.35 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.625, allocations: 95.39 kB / 1.533 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/0.6275, allocations: 1.14 MB / 1.534 GB, free: 14.1 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.6275, allocations: 8 kB / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6275, allocations: 0 / 1.534 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.6275, allocations: 7.969 kB / 1.534 GB, free: 14.08 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/0.631, allocations: 2.012 MB / 1.536 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.631, allocations: 3.938 kB / 1.536 GB, free: 12.01 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/0.6316, allocations: 159.8 kB / 1.536 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/0.632, allocations: 68.78 kB / 1.536 GB, free: 11.78 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.6321, allocations: 27.97 kB / 1.536 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.6341, allocations: 1.57 MB / 1.537 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6341, allocations: 0 / 1.537 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.6362, allocations: 1.049 MB / 1.538 GB, free: 9 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.6367, allocations: 223 kB / 1.539 GB, free: 8.781 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.6368, allocations: 20 kB / 1.539 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/0.6374, allocations: 67.33 kB / 1.539 GB, free: 8.699 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.6376, allocations: 88.78 kB / 1.539 GB, free: 8.613 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.39e-05/0.6377, allocations: 39.97 kB / 1.539 GB, free: 8.574 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006397/0.6383, allocations: 487 kB / 1.539 GB, free: 8.105 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6383, allocations: 0 / 1.539 GB, free: 8.105 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008953/0.6392, allocations: 335.1 kB / 1.54 GB, free: 7.777 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: 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 (100): * Single equations (assignments): 93 * 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.004128/0.6433, allocations: 2.111 MB / 1.542 GB, free: 5.816 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.645, allocations: 0.8077 MB / 1.542 GB, free: 4.996 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.645, allocations: 0 / 1.542 GB, free: 4.996 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.6459, allocations: 0.5199 MB / 1.543 GB, free: 4.461 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6471, allocations: 311.9 kB / 1.543 GB, free: 4.176 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.6576, allocations: 6.492 MB / 1.55 GB, free: 13.52 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/0.6583, allocations: 1.04 MB / 1.551 GB, free: 12.45 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00082/0.6591, allocations: 271.1 kB / 1.551 GB, free: 12.18 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005682/0.6597, allocations: 403.3 kB / 1.551 GB, free: 11.79 MB / 1.248 GB Notification: Performance of SimCode: time 7.31e-07/0.6597, allocations: 0 / 1.551 GB, free: 11.79 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06174/0.7214, allocations: 23.26 MB / 1.574 GB, free: 4.727 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.84, allocations: 7.641 kB / 1.574 GB, free: 4.723 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.678915711999707]