Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.001672/0.001672, 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.002067/0.002067, allocations: 216.9 kB / 22.25 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8 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 2.996/2.996, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_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.001915/0.001915, allocations: 72.52 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3206, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007192/0.3278, allocations: 4.91 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.5033, allocations: 154.1 MB / 1.481 GB, free: 2.34 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.5042, allocations: 23.81 kB / 1.481 GB, free: 2.316 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.5048, allocations: 198.2 kB / 1.481 GB, free: 2.121 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.5066, allocations: 0.5504 MB / 1.482 GB, free: 1.574 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.5087, allocations: 0.8867 MB / 1.483 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.5106, allocations: 1.405 MB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008586/0.5114, allocations: 425.8 kB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.5122, allocations: 0.5022 MB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.5129, allocations: 0.5096 MB / 1.486 GB, free: 13.82 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.5131, allocations: 120 kB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.5142, allocations: 0.5113 MB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003024/0.5145, allocations: 303 kB / 1.486 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.515, allocations: 0.5636 MB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.5173, allocations: 1.704 MB / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5173, allocations: 0 / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5173, allocations: 0 / 1.489 GB, free: 10.62 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.126e-05/0.5173, allocations: 0 / 1.489 GB, free: 10.62 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002586/0.5199, allocations: 1.407 MB / 1.49 GB, free: 9.18 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.52, allocations: 12.03 kB / 1.49 GB, free: 9.168 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.5201, allocations: 135.3 kB / 1.49 GB, free: 9.027 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.5217, allocations: 244 kB / 1.49 GB, free: 8.789 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.523, allocations: 0.7103 MB / 1.491 GB, free: 8.051 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.523, allocations: 69.98 kB / 1.491 GB, free: 7.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5232, allocations: 80 kB / 1.491 GB, free: 7.902 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.5247, allocations: 0.9261 MB / 1.492 GB, free: 6.938 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5247, allocations: 0 / 1.492 GB, free: 6.938 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.703e-05/0.5248, allocations: 36 kB / 1.492 GB, free: 6.902 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5248, allocations: 20 kB / 1.492 GB, free: 6.883 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.5266, allocations: 1.112 MB / 1.493 GB, free: 5.766 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.5311, allocations: 2.717 MB / 1.496 GB, free: 2.922 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.5326, allocations: 0.7726 MB / 1.497 GB, free: 2.141 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.5332, allocations: 278.7 kB / 1.497 GB, free: 1.867 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.5332, allocations: 24.61 kB / 1.497 GB, free: 1.844 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008706/0.5341, allocations: 0.4929 MB / 1.497 GB, free: 1.332 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.875e-06/0.5341, allocations: 0 / 1.497 GB, free: 1.332 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003102/0.5372, allocations: 1.123 MB / 1.499 GB, free: 204 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.5374, allocations: 192.5 kB / 1.499 GB, free: 15.97 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/0.5383, allocations: 0.6528 MB / 1.499 GB, free: 15.31 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.133e-05/0.5384, allocations: 41.7 kB / 1.499 GB, free: 15.26 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.5387, allocations: 401 kB / 1.5 GB, free: 14.86 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.539, allocations: 273.7 kB / 1.5 GB, free: 14.59 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.5392, allocations: 142.6 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.5394, allocations: 394.7 kB / 1.501 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004981/0.5399, allocations: 241.9 kB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.5405, allocations: 358.6 kB / 1.501 GB, free: 13.44 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.5416, allocations: 0.5799 MB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5416, allocations: 4 kB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001912/0.5435, allocations: 0.8101 MB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.5435, allocations: 4 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5435, allocations: 64 / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.5442, allocations: 92.8 kB / 1.503 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/0.5447, allocations: 147.8 kB / 1.503 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.5469, allocations: 1.556 MB / 1.504 GB, free: 10.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/0.5476, allocations: 83.56 kB / 1.504 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.5477, allocations: 27.98 kB / 1.504 GB, free: 10 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0005302/0.5482, allocations: 282.3 kB / 1.505 GB, free: 9.715 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.5484, allocations: 91.42 kB / 1.505 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.5507, allocations: 1.058 MB / 1.506 GB, free: 8.551 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.5507, allocations: 11.94 kB / 1.506 GB, free: 8.539 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5507, allocations: 0 / 1.506 GB, free: 8.539 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.5507, allocations: 3.984 kB / 1.506 GB, free: 8.535 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.5541, allocations: 1.943 MB / 1.508 GB, free: 6.539 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5541, allocations: 3.938 kB / 1.508 GB, free: 6.535 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.5546, allocations: 147.8 kB / 1.508 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.5551, allocations: 72.78 kB / 1.508 GB, free: 6.316 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.5551, allocations: 27.98 kB / 1.508 GB, free: 6.289 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.5571, allocations: 1.57 MB / 1.509 GB, free: 4.598 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5571, allocations: 0 / 1.509 GB, free: 4.598 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.5592, allocations: 1.002 MB / 1.51 GB, free: 3.578 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/0.5597, allocations: 207 kB / 1.511 GB, free: 3.375 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.5598, allocations: 20 kB / 1.511 GB, free: 3.355 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006419/0.5604, allocations: 67.92 kB / 1.511 GB, free: 3.289 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.5606, allocations: 68.88 kB / 1.511 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-05/0.5607, allocations: 35.97 kB / 1.511 GB, free: 3.184 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007176/0.5614, allocations: 475 kB / 1.511 GB, free: 2.727 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5614, allocations: 0 / 1.511 GB, free: 2.727 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009866/0.5624, allocations: 319.2 kB / 1.512 GB, free: 2.414 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004331/0.5667, allocations: 2.057 MB / 1.514 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.5685, allocations: 0.7689 MB / 1.514 GB, free: 15.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5685, allocations: 4 kB / 1.514 GB, free: 15.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008875/0.5693, allocations: 496.2 kB / 1.515 GB, free: 15.24 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5706, allocations: 309.9 kB / 1.515 GB, free: 14.95 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.5811, allocations: 6.288 MB / 1.521 GB, free: 8.512 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/0.5818, allocations: 1.016 MB / 1.522 GB, free: 7.465 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008078/0.5826, allocations: 266.7 kB / 1.523 GB, free: 7.199 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.5831, allocations: 379.3 kB / 1.523 GB, free: 6.828 MB / 1.217 GB Notification: Performance of SimCode: time 8.11e-07/0.5831, allocations: 0 / 1.523 GB, free: 6.828 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07169/0.6548, allocations: 22.52 MB / 1.545 GB, free: 0.5391 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.33, allocations: 12.08 kB / 1.545 GB, free: 0.5312 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable zen.y in file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.y from file Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.983609651000734]