Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001773/0.001773, allocations: 104.4 kB / 16.45 MB, free: 6.387 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.002153/0.002153, allocations: 218.3 kB / 19.43 MB, free: 3.727 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.07/3.07, 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.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.002056/0.002056, allocations: 69.34 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3145, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007101/0.3216, allocations: 4.987 MB / 1.353 GB, free: 4.996 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1734/0.495, allocations: 154 MB / 1.503 GB, free: 10.39 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008811/0.4958, allocations: 23.81 kB / 1.503 GB, free: 10.37 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008617/0.4967, allocations: 202.2 kB / 1.503 GB, free: 10.17 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002165/0.4989, allocations: 0.5834 MB / 1.504 GB, free: 9.586 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.501, allocations: 0.8688 MB / 1.505 GB, free: 8.723 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.5029, allocations: 1.452 MB / 1.506 GB, free: 7.262 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008281/0.5037, allocations: 417.4 kB / 1.506 GB, free: 6.828 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008342/0.5045, allocations: 0.5294 MB / 1.507 GB, free: 6.297 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.5053, allocations: 0.529 MB / 1.507 GB, free: 5.766 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.5055, allocations: 120 kB / 1.508 GB, free: 5.648 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.5066, allocations: 0.5074 MB / 1.508 GB, free: 5.141 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.5069, allocations: 311 kB / 1.508 GB, free: 4.836 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006703/0.5076, allocations: 0.5791 MB / 1.509 GB, free: 4.254 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/0.5099, allocations: 1.724 MB / 1.511 GB, free: 2.523 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.5099, allocations: 4 kB / 1.511 GB, free: 2.52 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5099, allocations: 0 / 1.511 GB, free: 2.52 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.898e-05/0.5099, allocations: 0 / 1.511 GB, free: 2.52 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.0031/0.513, allocations: 1.535 MB / 1.512 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5131, allocations: 15.98 kB / 1.512 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.5133, allocations: 131.5 kB / 1.512 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.515, allocations: 256 kB / 1.513 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.5163, allocations: 0.794 MB / 1.513 GB, free: 15.69 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.5164, allocations: 70 kB / 1.513 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5165, allocations: 80 kB / 1.513 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.5183, allocations: 0.9457 MB / 1.514 GB, free: 14.56 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.5183, allocations: 3.938 kB / 1.514 GB, free: 14.55 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.332e-05/0.5184, allocations: 36 kB / 1.514 GB, free: 14.52 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.5184, allocations: 20 kB / 1.514 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.5203, allocations: 1.124 MB / 1.516 GB, free: 13.37 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.5247, allocations: 2.798 MB / 1.518 GB, free: 10.45 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.5263, allocations: 0.8525 MB / 1.519 GB, free: 9.562 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.5269, allocations: 293.8 kB / 1.519 GB, free: 9.277 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.63e-05/0.527, allocations: 32.69 kB / 1.519 GB, free: 9.242 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009401/0.5279, allocations: 0.5136 MB / 1.52 GB, free: 8.715 MB / 1.217 GB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/0.5279, allocations: 4 kB / 1.52 GB, free: 8.711 MB / 1.217 GB Notification: Performance of matching and sorting (n=84): time 0.003414/0.5313, allocations: 1.255 MB / 1.521 GB, free: 7.43 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.5315, allocations: 196.9 kB / 1.521 GB, free: 7.195 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/0.5325, allocations: 0.6685 MB / 1.522 GB, free: 6.52 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.68e-05/0.5325, allocations: 41.7 kB / 1.522 GB, free: 6.473 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/0.5329, allocations: 413.1 kB / 1.522 GB, free: 6.062 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.5332, allocations: 285.6 kB / 1.523 GB, free: 5.781 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.5334, allocations: 154.6 kB / 1.523 GB, free: 5.625 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.5336, allocations: 386.8 kB / 1.523 GB, free: 5.238 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.5342, allocations: 257.9 kB / 1.523 GB, free: 4.984 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.5348, allocations: 370.5 kB / 1.524 GB, free: 4.598 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.536, allocations: 0.6008 MB / 1.524 GB, free: 3.988 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.536, allocations: 4 kB / 1.524 GB, free: 3.984 MB / 1.217 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002024/0.538, allocations: 0.8297 MB / 1.525 GB, free: 3.141 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5381, allocations: 13.95 kB / 1.525 GB, free: 3.129 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5381, allocations: 0 / 1.525 GB, free: 3.129 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.5387, allocations: 80.88 kB / 1.525 GB, free: 3.047 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.5393, allocations: 159.8 kB / 1.525 GB, free: 2.891 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.5416, allocations: 1.63 MB / 1.527 GB, free: 1.117 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007351/0.5423, allocations: 107.6 kB / 1.527 GB, free: 1.012 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.5424, allocations: 31.97 kB / 1.527 GB, free: 0.9805 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: 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 (91): * Single equations (assignments): 90 * 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.0004291/0.5428, allocations: 269.6 kB / 1.527 GB, free: 0.707 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.543, allocations: 91.44 kB / 1.528 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002661/0.5457, allocations: 1.14 MB / 1.529 GB, free: 15.46 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5457, allocations: 8 kB / 1.529 GB, free: 15.45 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5457, allocations: 0 / 1.529 GB, free: 15.45 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5457, allocations: 7.984 kB / 1.529 GB, free: 15.44 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.5493, allocations: 2.032 MB / 1.531 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5493, allocations: 0 / 1.531 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.5499, allocations: 155.8 kB / 1.531 GB, free: 13.2 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/0.5504, allocations: 72.78 kB / 1.531 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.5504, allocations: 31.97 kB / 1.531 GB, free: 13.09 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.5525, allocations: 1.654 MB / 1.532 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5525, allocations: 4.031 kB / 1.533 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.5547, allocations: 1.057 MB / 1.534 GB, free: 10.21 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/0.5551, allocations: 292.1 kB / 1.534 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.5553, allocations: 20 kB / 1.534 GB, free: 9.887 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/0.556, allocations: 66.03 kB / 1.534 GB, free: 9.824 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.5561, allocations: 76.89 kB / 1.534 GB, free: 9.75 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.822e-05/0.5562, allocations: 39.98 kB / 1.534 GB, free: 9.711 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000662/0.5569, allocations: 487 kB / 1.534 GB, free: 9.242 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5569, allocations: 0 / 1.534 GB, free: 9.242 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009194/0.5578, allocations: 331.2 kB / 1.535 GB, free: 8.918 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 (99): * Single equations (assignments): 92 * 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.004339/0.5622, allocations: 2.103 MB / 1.537 GB, free: 6.961 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.5639, allocations: 0.8077 MB / 1.538 GB, free: 6.145 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5639, allocations: 4 kB / 1.538 GB, free: 6.141 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.565, allocations: 0.5121 MB / 1.538 GB, free: 5.617 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.5663, allocations: 309.1 kB / 1.538 GB, free: 5.336 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.5778, allocations: 6.476 MB / 1.545 GB, free: 14.7 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.5785, allocations: 1.032 MB / 1.546 GB, free: 13.64 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008348/0.5793, allocations: 275 kB / 1.546 GB, free: 13.36 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006706/0.58, allocations: 419.2 kB / 1.546 GB, free: 12.95 MB / 1.248 GB Notification: Performance of SimCode: time 6.41e-07/0.58, allocations: 0 / 1.546 GB, free: 12.95 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06147/0.6415, allocations: 22.64 MB / 1.569 GB, free: 6.609 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.6, allocations: 6.188 kB / 1.569 GB, free: 6.605 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable zen.zen in file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.zen from file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.19798877206631]