Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.0008705/0.0008705, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009805/0.0009805, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8609/0.8609, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.738/1.738, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.342e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001666/0.00168, allocations: 1.451 MB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007529/0.002433, allocations: 0.5227 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.002467, allocations: 3.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.002494, allocations: 3.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.002689, allocations: 31.84 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.002805, allocations: 35.77 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.002876, allocations: 55.84 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.972e-05/0.002955, allocations: 4 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.003084, allocations: 43.89 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.003146, allocations: 23.95 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.003162, allocations: 4 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.234e-05/0.003204, allocations: 12 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.00322, allocations: 11.98 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.003251, allocations: 19.92 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.003364, allocations: 63.78 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003366, allocations: 3.984 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003367, allocations: 0 / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.003371, allocations: 0 / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004403/0.003811, allocations: 292.2 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.003848, allocations: 8.75 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.003877, allocations: 34.75 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.003977, allocations: 20.88 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.631e-05/0.004063, allocations: 105.8 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.004076, allocations: 4.375 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.004088, allocations: 8.375 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.00418, allocations: 54.23 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.004187, allocations: 4.172 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004196, allocations: 4.125 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.0042, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.004255, allocations: 31.92 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.004573, allocations: 247.9 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.004738, allocations: 78.61 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.004768, allocations: 24.78 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.00478, allocations: 0 / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.0049, allocations: 75.38 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.004901, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001778/0.005079, allocations: 97.61 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.005111, allocations: 51.41 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.005164, allocations: 109.8 kB / 1.003 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.005175, allocations: 33.7 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.005205, allocations: 80.14 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.005226, allocations: 23.92 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.005258, allocations: 29.64 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.005325, allocations: 314.8 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.005354, allocations: 19.98 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.005378, allocations: 19.98 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.005433, allocations: 40.86 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.005436, allocations: 3.938 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.658e-05/0.005523, allocations: 89.56 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.005533, allocations: 4 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.005537, allocations: 4 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005547, allocations: 4 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.005598, allocations: 15.92 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.005602, allocations: 0 / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.005637, allocations: 11.88 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.005644, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.005701, allocations: 117.8 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.005708, allocations: 4.188 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.005841, allocations: 117.9 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.005844, allocations: 8 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.005848, allocations: 0 / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.005852, allocations: 3.984 kB / 1.004 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.182e-05/0.005934, allocations: 140.7 kB / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.005935, allocations: 0 / 1.004 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.005964, allocations: 12 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.005966, allocations: 3.984 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.005974, allocations: 4 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005975, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005976, allocations: 0 / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.006077, allocations: 128.9 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.006086, allocations: 4 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.006098, allocations: 4 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.006128, allocations: 7.984 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.006157, allocations: 7.984 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.006163, allocations: 8 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.006189, allocations: 83.28 kB / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006189, allocations: 0 / 1.004 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001306/0.00632, allocations: 12 kB / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,eqnTim.tNext,eqnTim.k) * Number of discrete states: 2 (eqnTim.k,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002682/0.006588, allocations: 0.6669 MB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.006693, allocations: 56.14 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.006696, allocations: 4 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.006734, allocations: 27.98 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.006838, allocations: 4 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007821/0.00762, allocations: 1.276 MB / 1.006 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.007659, allocations: 71.25 kB / 1.006 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.007691, allocations: 11.98 kB / 1.006 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.007733, allocations: 20.5 kB / 1.006 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.007733, allocations: 0 / 1.006 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.0233, allocations: 2.369 MB / 1.009 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.039, allocations: 8.812 kB / 1.009 GB, free: 3.871 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable eqnTim.nDay in file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv. Warning: Get data of variable eqnTim.nDay from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.112235056236386]