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.001366/0.001366, allocations: 110.4 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.001455/0.001455, allocations: 214.7 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.98 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.344/3.344, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.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: 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.002108/0.002108, allocations: 70.73 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4033, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.004114/0.4074, allocations: 1.479 MB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.4088, allocations: 0.5688 MB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.4089, allocations: 3.938 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.425e-05/0.4089, allocations: 7.938 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.4093, allocations: 23.84 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.4095, allocations: 27.91 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.4097, allocations: 51.84 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.4098, allocations: 7.938 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.4101, allocations: 31.91 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.4102, allocations: 31.91 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.4102, allocations: 4 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.056e-05/0.4103, allocations: 12 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.4103, allocations: 11.98 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.4103, allocations: 23.86 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.4105, allocations: 43.86 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4105, allocations: 7.938 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4105, allocations: 0 / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4105, allocations: 4 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007011/0.4112, allocations: 286.1 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4113, allocations: 8.031 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.339e-05/0.4113, allocations: 34.75 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.4115, allocations: 16.88 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4117, allocations: 110.5 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4117, allocations: 384 / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.4117, allocations: 8.359 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4118, allocations: 57.8 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4119, allocations: 0 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4119, allocations: 8 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4119, allocations: 0 / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.412, allocations: 23.92 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.4124, allocations: 251.8 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.4126, allocations: 62.67 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.4127, allocations: 24.8 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.4127, allocations: 3.984 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.4129, allocations: 71.39 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 4.769e-06/0.413, allocations: 3.984 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0002744/0.4132, allocations: 85.67 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.4133, allocations: 59.39 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.4134, allocations: 101.8 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.4134, allocations: 29.7 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.4135, allocations: 88.7 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.4135, allocations: 19.91 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.4136, allocations: 17.72 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4137, allocations: 326.8 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.4138, allocations: 12 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.4138, allocations: 15.98 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.816e-05/0.4139, allocations: 32.86 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4139, allocations: 0 / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.414, allocations: 73.83 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4141, allocations: 9.562 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4141, allocations: 80 / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4141, allocations: 3.938 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.4142, allocations: 11.98 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4142, allocations: 7.922 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.4143, allocations: 15.89 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.4143, allocations: 0 / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (7): * Single equations (assignments): 7 * 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 0.0001109/0.4144, allocations: 129.7 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.4144, allocations: 3.984 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.4146, allocations: 101.6 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4146, allocations: 0 / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4146, allocations: 3.984 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4146, allocations: 4 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.4148, allocations: 152.7 kB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4148, allocations: 0 / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.4149, allocations: 11.98 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4149, allocations: 0 / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4149, allocations: 8 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4149, allocations: 0 / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4149, allocations: 3.938 kB / 1.357 GB, free: 3.586 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.4151, allocations: 117 kB / 1.357 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.4151, allocations: 11.95 kB / 1.357 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.4151, allocations: 3.984 kB / 1.357 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.4152, allocations: 8.188 kB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.4153, allocations: 3.984 kB / 1.357 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.4153, allocations: 16 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.352e-05/0.4153, allocations: 79.28 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4153, allocations: 0 / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002016/0.4155, allocations: 16 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005344/0.4161, allocations: 0.6515 MB / 1.358 GB, free: 2.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.4162, allocations: 51.92 kB / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4162, allocations: 0 / 1.358 GB, free: 2.586 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.377e-05/0.4163, allocations: 27.98 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.4165, allocations: 8 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4179, allocations: 1.237 MB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.4182, allocations: 0.6866 MB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.4182, allocations: 8.422 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.4183, allocations: 19.42 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.4183, allocations: 0 / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.4496, allocations: 1.779 MB / 1.362 GB, free: 14.85 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.35, allocations: 14.84 kB / 1.362 GB, free: 14.84 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.290639566024765]