Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001379/0.001379, 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.001539/0.001539, 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.419/1.419, 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.021/3.021, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_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.002195/0.002195, allocations: 74.55 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3224, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007367/0.3298, allocations: 5.006 MB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1807/0.5105, allocations: 154 MB / 1.476 GB, free: 3.691 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008582/0.5114, allocations: 23.81 kB / 1.476 GB, free: 3.668 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007677/0.5121, allocations: 198.1 kB / 1.476 GB, free: 3.473 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.5142, allocations: 0.5806 MB / 1.477 GB, free: 2.891 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.5163, allocations: 0.8726 MB / 1.478 GB, free: 2.027 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001694/0.518, allocations: 1.456 MB / 1.479 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.5187, allocations: 425.6 kB / 1.48 GB, free: 128 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007258/0.5194, allocations: 0.5257 MB / 1.48 GB, free: 15.59 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.5201, allocations: 0.5329 MB / 1.481 GB, free: 15.06 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.5203, allocations: 120 kB / 1.481 GB, free: 14.94 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000959/0.5212, allocations: 0.515 MB / 1.481 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.5215, allocations: 311 kB / 1.481 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.5221, allocations: 0.5907 MB / 1.482 GB, free: 13.53 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.5242, allocations: 1.712 MB / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5242, allocations: 0 / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5242, allocations: 0 / 1.484 GB, free: 11.81 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.5243, allocations: 3.984 kB / 1.484 GB, free: 11.81 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002873/0.5271, allocations: 1.532 MB / 1.485 GB, free: 10.22 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.5272, allocations: 19.97 kB / 1.485 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.5274, allocations: 135.6 kB / 1.485 GB, free: 10.06 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.5291, allocations: 259.9 kB / 1.486 GB, free: 9.809 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.5304, allocations: 0.794 MB / 1.486 GB, free: 8.973 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.5305, allocations: 66 kB / 1.486 GB, free: 8.906 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5306, allocations: 80 kB / 1.487 GB, free: 8.828 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.5322, allocations: 0.9534 MB / 1.487 GB, free: 7.836 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.5323, allocations: 0 / 1.487 GB, free: 7.836 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.008e-05/0.5323, allocations: 36 kB / 1.488 GB, free: 7.801 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.5324, allocations: 27.92 kB / 1.488 GB, free: 7.773 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.5343, allocations: 1.136 MB / 1.489 GB, free: 6.633 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.5388, allocations: 2.791 MB / 1.491 GB, free: 3.715 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.5405, allocations: 0.8619 MB / 1.492 GB, free: 2.828 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005827/0.5411, allocations: 294.7 kB / 1.493 GB, free: 2.535 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-05/0.5411, allocations: 20.62 kB / 1.493 GB, free: 2.516 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009555/0.5421, allocations: 0.5279 MB / 1.493 GB, free: 1.973 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.375e-06/0.5421, allocations: 4 kB / 1.493 GB, free: 1.969 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003543/0.5456, allocations: 1.263 MB / 1.494 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.5458, allocations: 192.9 kB / 1.494 GB, free: 456 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5468, allocations: 0.6646 MB / 1.495 GB, free: 15.77 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/0.5469, allocations: 41.7 kB / 1.495 GB, free: 15.72 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.5473, allocations: 417 kB / 1.496 GB, free: 15.31 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.5475, allocations: 289.5 kB / 1.496 GB, free: 15.03 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.5478, allocations: 162.5 kB / 1.496 GB, free: 14.86 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.548, allocations: 390.7 kB / 1.496 GB, free: 14.47 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/0.5486, allocations: 253.9 kB / 1.497 GB, free: 14.23 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006868/0.5493, allocations: 379.4 kB / 1.497 GB, free: 13.82 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.5505, allocations: 0.6133 MB / 1.498 GB, free: 13.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5505, allocations: 4 kB / 1.498 GB, free: 13.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002178/0.5527, allocations: 0.8374 MB / 1.498 GB, free: 12.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.5527, allocations: 14.12 kB / 1.498 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5527, allocations: 0 / 1.498 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/0.5533, allocations: 88.83 kB / 1.498 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.554, allocations: 159.8 kB / 1.499 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.5563, allocations: 1.638 MB / 1.5 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.5571, allocations: 87.75 kB / 1.5 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.5572, allocations: 31.92 kB / 1.5 GB, free: 10.18 MB / 1.201 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.0005119/0.5577, allocations: 281.7 kB / 1.501 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.5579, allocations: 95.39 kB / 1.501 GB, free: 9.805 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.5606, allocations: 1.136 MB / 1.502 GB, free: 8.652 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.5606, allocations: 12 kB / 1.502 GB, free: 8.641 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.5606, allocations: 0 / 1.502 GB, free: 8.641 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.5606, allocations: 3.984 kB / 1.502 GB, free: 8.637 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.5643, allocations: 2.037 MB / 1.504 GB, free: 6.539 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.5643, allocations: 4 kB / 1.504 GB, free: 6.535 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/0.565, allocations: 147.8 kB / 1.504 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.5654, allocations: 76.78 kB / 1.504 GB, free: 6.312 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/0.5655, allocations: 27.98 kB / 1.504 GB, free: 6.285 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.5676, allocations: 1.67 MB / 1.506 GB, free: 4.473 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5676, allocations: 0 / 1.506 GB, free: 4.473 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.5699, allocations: 1.061 MB / 1.507 GB, free: 3.391 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.5704, allocations: 284.2 kB / 1.507 GB, free: 3.094 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.5705, allocations: 31.89 kB / 1.507 GB, free: 3.062 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/0.5713, allocations: 67.92 kB / 1.507 GB, free: 2.996 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.5714, allocations: 76.89 kB / 1.507 GB, free: 2.922 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/0.5715, allocations: 35.98 kB / 1.507 GB, free: 2.887 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007211/0.5722, allocations: 487 kB / 1.508 GB, free: 2.418 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5722, allocations: 0 / 1.508 GB, free: 2.418 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001023/0.5733, allocations: 343 kB / 1.508 GB, free: 2.082 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 (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.004717/0.578, allocations: 2.102 MB / 1.51 GB, free: 136 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.5801, allocations: 0.8118 MB / 1.511 GB, free: 15.31 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5801, allocations: 0 / 1.511 GB, free: 15.31 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.5812, allocations: 0.5118 MB / 1.511 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.5827, allocations: 301.7 kB / 1.512 GB, free: 14.51 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.5942, allocations: 6.511 MB / 1.518 GB, free: 7.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.5949, allocations: 1.036 MB / 1.519 GB, free: 6.773 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008797/0.5958, allocations: 275.1 kB / 1.519 GB, free: 6.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/0.5965, allocations: 411.3 kB / 1.52 GB, free: 6.098 MB / 1.217 GB Notification: Performance of SimCode: time 1.132e-06/0.5965, allocations: 0 / 1.52 GB, free: 6.098 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06763/0.6641, allocations: 22.67 MB / 1.542 GB, free: 15.72 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.28, allocations: 14.44 kB / 1.542 GB, free: 15.71 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.99206307786517]