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.001519/0.001519, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001817/0.001817, allocations: 221.4 kB / 22.26 MB, free: 5.215 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.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.141/3.141, allocations: 0.505 GB / 0.8101 GB, free: 22.21 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.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.001982/0.001982, allocations: 74.17 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 180.2 MB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00702/0.3649, allocations: 4.919 MB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.5419, allocations: 154.1 MB / 1.508 GB, free: 8.855 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.5431, allocations: 19.81 kB / 1.508 GB, free: 8.836 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.5438, allocations: 202.2 kB / 1.508 GB, free: 8.637 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.5459, allocations: 0.5606 MB / 1.509 GB, free: 8.078 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.5483, allocations: 0.876 MB / 1.51 GB, free: 7.207 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002014/0.5503, allocations: 1.401 MB / 1.511 GB, free: 5.797 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.5511, allocations: 426.9 kB / 1.512 GB, free: 5.355 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008152/0.5519, allocations: 0.4984 MB / 1.512 GB, free: 4.855 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007345/0.5527, allocations: 0.5117 MB / 1.513 GB, free: 4.344 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.5528, allocations: 120 kB / 1.513 GB, free: 4.227 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.554, allocations: 0.5113 MB / 1.513 GB, free: 3.715 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.5543, allocations: 311 kB / 1.513 GB, free: 3.41 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.5548, allocations: 0.5636 MB / 1.514 GB, free: 2.844 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.5571, allocations: 1.7 MB / 1.516 GB, free: 1.137 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5571, allocations: 0 / 1.516 GB, free: 1.137 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5571, allocations: 0 / 1.516 GB, free: 1.137 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.427e-05/0.5572, allocations: 4 kB / 1.516 GB, free: 1.133 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.002639/0.5598, allocations: 1.411 MB / 1.517 GB, free: 15.69 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5598, allocations: 16.03 kB / 1.517 GB, free: 15.68 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.56, allocations: 131.4 kB / 1.517 GB, free: 15.54 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.5616, allocations: 244 kB / 1.517 GB, free: 15.3 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.5629, allocations: 0.7258 MB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.563, allocations: 62 kB / 1.518 GB, free: 14.49 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5631, allocations: 80 kB / 1.518 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.5646, allocations: 0.9184 MB / 1.519 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.5647, allocations: 0 / 1.519 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.5647, allocations: 36 kB / 1.519 GB, free: 13.42 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.5648, allocations: 20 kB / 1.519 GB, free: 13.4 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.5665, allocations: 1.112 MB / 1.52 GB, free: 12.28 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004392/0.5709, allocations: 2.721 MB / 1.523 GB, free: 9.434 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.5724, allocations: 0.7814 MB / 1.524 GB, free: 8.641 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.573, allocations: 282.7 kB / 1.524 GB, free: 8.359 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-05/0.573, allocations: 24.61 kB / 1.524 GB, free: 8.336 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008988/0.5739, allocations: 0.4917 MB / 1.524 GB, free: 7.824 MB / 1.217 GB Notification: Performance of pre-optimization done (n=79): time 2.615e-06/0.5739, allocations: 0 / 1.524 GB, free: 7.824 MB / 1.217 GB Notification: Performance of matching and sorting (n=79): time 0.003377/0.5773, allocations: 1.119 MB / 1.526 GB, free: 6.699 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.5775, allocations: 192.6 kB / 1.526 GB, free: 6.469 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.5785, allocations: 0.6527 MB / 1.526 GB, free: 5.809 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.5786, allocations: 41.7 kB / 1.526 GB, free: 5.762 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.5791, allocations: 401.1 kB / 1.527 GB, free: 5.363 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.5793, allocations: 269.7 kB / 1.527 GB, free: 5.098 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.5796, allocations: 146.6 kB / 1.527 GB, free: 4.945 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.5798, allocations: 390.7 kB / 1.528 GB, free: 4.555 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.5803, allocations: 253.9 kB / 1.528 GB, free: 4.309 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.581, allocations: 350.5 kB / 1.528 GB, free: 3.941 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.582, allocations: 0.5877 MB / 1.529 GB, free: 3.34 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5821, allocations: 0 / 1.529 GB, free: 3.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001964/0.584, allocations: 0.7985 MB / 1.53 GB, free: 2.535 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.584, allocations: 7.984 kB / 1.53 GB, free: 2.527 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.584, allocations: 0 / 1.53 GB, free: 2.527 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.5847, allocations: 88.75 kB / 1.53 GB, free: 2.438 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.5853, allocations: 151.7 kB / 1.53 GB, free: 2.289 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.5875, allocations: 1.547 MB / 1.531 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006977/0.5882, allocations: 97.77 kB / 1.531 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.5882, allocations: 27.97 kB / 1.531 GB, free: 0.5 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.0004477/0.5887, allocations: 273.5 kB / 1.532 GB, free: 228 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.5888, allocations: 83.48 kB / 1.532 GB, free: 144 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.5911, allocations: 1.066 MB / 1.533 GB, free: 15.05 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.5911, allocations: 11.94 kB / 1.533 GB, free: 15.04 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.5911, allocations: 0 / 1.533 GB, free: 15.04 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.5912, allocations: 3.984 kB / 1.533 GB, free: 15.04 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.5944, allocations: 1.943 MB / 1.535 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.5944, allocations: 3.984 kB / 1.535 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.595, allocations: 143.8 kB / 1.535 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.5954, allocations: 72.78 kB / 1.535 GB, free: 12.82 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.5955, allocations: 27.97 kB / 1.535 GB, free: 12.8 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.5974, allocations: 1.57 MB / 1.536 GB, free: 11.11 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5974, allocations: 3.984 kB / 1.536 GB, free: 11.1 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.5995, allocations: 0.9985 MB / 1.537 GB, free: 10.08 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004701/0.6, allocations: 207 kB / 1.538 GB, free: 9.879 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6001, allocations: 31.98 kB / 1.538 GB, free: 9.848 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.6007, allocations: 56.08 kB / 1.538 GB, free: 9.793 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.6008, allocations: 76.84 kB / 1.538 GB, free: 9.719 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.6009, allocations: 35.97 kB / 1.538 GB, free: 9.684 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006362/0.6015, allocations: 475 kB / 1.538 GB, free: 9.227 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6015, allocations: 0 / 1.538 GB, free: 9.227 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008992/0.6024, allocations: 323.2 kB / 1.539 GB, free: 8.91 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: 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.004135/0.6066, allocations: 2.038 MB / 1.541 GB, free: 7.031 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.6084, allocations: 0.7689 MB / 1.541 GB, free: 6.246 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6084, allocations: 4 kB / 1.541 GB, free: 6.242 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009348/0.6093, allocations: 0.4885 MB / 1.542 GB, free: 5.742 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.6107, allocations: 300.9 kB / 1.542 GB, free: 5.465 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.6215, allocations: 6.294 MB / 1.548 GB, free: 15.02 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.6222, allocations: 1.023 MB / 1.549 GB, free: 13.96 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008656/0.6231, allocations: 270.6 kB / 1.549 GB, free: 13.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005568/0.6236, allocations: 379.3 kB / 1.55 GB, free: 13.33 MB / 1.248 GB Notification: Performance of SimCode: time 1.322e-06/0.6236, allocations: 0 / 1.55 GB, free: 13.33 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/0.6866, allocations: 22.5 MB / 1.572 GB, free: 7.023 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.42, allocations: 11.48 kB / 1.572 GB, free: 7.016 MB / 1.264 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.205655321999984]