Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001392/0.001392, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002502/0.002502, allocations: 212.5 kB / 22.25 MB, free: 5.262 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.777 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.258/3.258, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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.002205/0.002205, allocations: 70.83 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3515, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007033/0.3586, allocations: 4.396 MB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1639/0.5224, allocations: 132.7 MB / 1.497 GB, free: 4.477 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000843/0.5233, allocations: 27.81 kB / 1.497 GB, free: 4.449 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007228/0.524, allocations: 198.2 kB / 1.497 GB, free: 4.254 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.5261, allocations: 0.5724 MB / 1.498 GB, free: 3.684 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.5283, allocations: 0.8575 MB / 1.499 GB, free: 2.832 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.5299, allocations: 1.398 MB / 1.5 GB, free: 1.43 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007607/0.5307, allocations: 401.8 kB / 1.501 GB, free: 1.012 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007404/0.5314, allocations: 0.506 MB / 1.501 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005824/0.532, allocations: 469.8 kB / 1.502 GB, free: 44 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.5322, allocations: 116 kB / 1.502 GB, free: 15.93 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.5332, allocations: 491.6 kB / 1.502 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.5335, allocations: 311 kB / 1.502 GB, free: 15.14 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.534, allocations: 469.7 kB / 1.503 GB, free: 14.68 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.5359, allocations: 1.708 MB / 1.505 GB, free: 12.97 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5359, allocations: 0 / 1.505 GB, free: 12.97 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5359, allocations: 0 / 1.505 GB, free: 12.97 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.536, allocations: 0 / 1.505 GB, free: 12.97 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002518/0.5385, allocations: 1.403 MB / 1.506 GB, free: 11.53 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5385, allocations: 12.02 kB / 1.506 GB, free: 11.52 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.5387, allocations: 135.4 kB / 1.506 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.5403, allocations: 244 kB / 1.506 GB, free: 11.14 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.5416, allocations: 0.718 MB / 1.507 GB, free: 10.39 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.5417, allocations: 69.98 kB / 1.507 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.5418, allocations: 76 kB / 1.507 GB, free: 10.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.5437, allocations: 1.173 MB / 1.508 GB, free: 8.977 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.5437, allocations: 0 / 1.508 GB, free: 8.977 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.5438, allocations: 36 kB / 1.508 GB, free: 8.941 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.5438, allocations: 23.98 kB / 1.508 GB, free: 8.918 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.5458, allocations: 1.065 MB / 1.509 GB, free: 7.852 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/0.55, allocations: 2.24 MB / 1.512 GB, free: 5.547 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.5515, allocations: 0.7674 MB / 1.512 GB, free: 4.773 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005505/0.5521, allocations: 278.7 kB / 1.513 GB, free: 4.5 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/0.5522, allocations: 20.64 kB / 1.513 GB, free: 4.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.5532, allocations: 0.5957 MB / 1.513 GB, free: 3.84 MB / 1.201 GB Notification: Performance of pre-optimization done (n=79): time 2.535e-06/0.5532, allocations: 0 / 1.513 GB, free: 3.84 MB / 1.201 GB Notification: Performance of matching and sorting (n=79): time 0.003227/0.5565, allocations: 1.119 MB / 1.514 GB, free: 2.711 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.5566, allocations: 196.6 kB / 1.514 GB, free: 2.477 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.5576, allocations: 0.6489 MB / 1.515 GB, free: 1.816 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.105e-05/0.5577, allocations: 41.7 kB / 1.515 GB, free: 1.77 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.558, allocations: 405 kB / 1.515 GB, free: 1.367 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.5584, allocations: 273.8 kB / 1.516 GB, free: 1.098 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.5586, allocations: 146.6 kB / 1.516 GB, free: 0.9492 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000268/0.5589, allocations: 390.6 kB / 1.516 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.5594, allocations: 241.9 kB / 1.516 GB, free: 328 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.5602, allocations: 487.1 kB / 1.517 GB, free: 15.79 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.5613, allocations: 0.5916 MB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.5613, allocations: 64 / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002076/0.5634, allocations: 0.8062 MB / 1.518 GB, free: 14.37 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5634, allocations: 4 kB / 1.518 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5634, allocations: 4 kB / 1.518 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.564, allocations: 88.8 kB / 1.518 GB, free: 14.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.5646, allocations: 143.8 kB / 1.519 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.5668, allocations: 1.534 MB / 1.52 GB, free: 12.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/0.5674, allocations: 91.58 kB / 1.52 GB, free: 12.39 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.5675, allocations: 27.98 kB / 1.52 GB, free: 12.37 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: 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.0005954/0.5681, allocations: 274.6 kB / 1.52 GB, free: 12.09 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/0.5684, allocations: 87.44 kB / 1.52 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.5709, allocations: 1.062 MB / 1.522 GB, free: 10.93 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5709, allocations: 11.94 kB / 1.522 GB, free: 10.92 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.5709, allocations: 0 / 1.522 GB, free: 10.92 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5709, allocations: 7.969 kB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.5743, allocations: 1.814 MB / 1.523 GB, free: 9.039 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5743, allocations: 0 / 1.523 GB, free: 9.039 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.5749, allocations: 151.7 kB / 1.523 GB, free: 8.891 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.5753, allocations: 72.8 kB / 1.524 GB, free: 8.816 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.5754, allocations: 31.91 kB / 1.524 GB, free: 8.785 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.5776, allocations: 1.555 MB / 1.525 GB, free: 7.109 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5776, allocations: 0 / 1.525 GB, free: 7.109 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.5798, allocations: 1.002 MB / 1.526 GB, free: 6.094 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.5802, allocations: 211 kB / 1.526 GB, free: 5.887 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5803, allocations: 20 kB / 1.526 GB, free: 5.867 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006478/0.581, allocations: 63.92 kB / 1.526 GB, free: 5.805 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.5811, allocations: 77 kB / 1.526 GB, free: 5.727 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/0.5812, allocations: 31.98 kB / 1.526 GB, free: 5.695 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007188/0.5819, allocations: 479 kB / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5819, allocations: 0 / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000872/0.5828, allocations: 311.2 kB / 1.527 GB, free: 4.93 MB / 1.217 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.004379/0.5872, allocations: 2.083 MB / 1.529 GB, free: 3.023 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.5889, allocations: 0.7726 MB / 1.53 GB, free: 2.238 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5889, allocations: 4 kB / 1.53 GB, free: 2.234 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000938/0.5898, allocations: 496.4 kB / 1.53 GB, free: 1.738 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5911, allocations: 312.4 kB / 1.531 GB, free: 1.453 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.6022, allocations: 6.285 MB / 1.537 GB, free: 11.02 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.6027, allocations: 435.8 kB / 1.537 GB, free: 10.56 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008276/0.6035, allocations: 262.7 kB / 1.538 GB, free: 10.3 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/0.6041, allocations: 379.3 kB / 1.538 GB, free: 9.926 MB / 1.232 GB Notification: Performance of SimCode: time 7.22e-07/0.6041, allocations: 0 / 1.538 GB, free: 9.926 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06545/0.6695, allocations: 23.49 MB / 1.561 GB, free: 2.73 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.52, allocations: 13.42 kB / 1.561 GB, free: 2.723 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv. Warning: Get data of variable zen.y from file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.739247395657003]