Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001273/0.001273, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001531/0.001531, allocations: 222.6 kB / 22.25 MB, free: 5.109 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.809 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.228/3.228, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.002068/0.002068, allocations: 81.11 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3544, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002958/0.3574, allocations: 1.477 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004817/0.3579, allocations: 187.4 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.3579, allocations: 0 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.3579, allocations: 3.938 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3582, allocations: 19.84 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.3584, allocations: 51.92 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3585, allocations: 63.78 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.3586, allocations: 7.938 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.3586, allocations: 27.92 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.3587, allocations: 23.91 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.3587, allocations: 4 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.52e-05/0.3588, allocations: 4 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.3588, allocations: 19.92 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.3588, allocations: 15.92 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3589, allocations: 47.86 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3589, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3589, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.3589, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000501/0.3594, allocations: 274.3 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3595, allocations: 15.97 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.3595, allocations: 30.75 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.3595, allocations: 8.922 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.3597, allocations: 118.4 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3597, allocations: 4.375 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3597, allocations: 8.312 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.3599, allocations: 124.2 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3599, allocations: 7.938 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3599, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3599, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.3599, allocations: 19.98 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.3603, allocations: 235.9 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.3604, allocations: 34.58 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.3604, allocations: 20.94 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.3604, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3606, allocations: 63.38 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 5.119e-06/0.3606, allocations: 3.984 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002303/0.3608, allocations: 81.56 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.918e-05/0.3609, allocations: 106.8 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.361, allocations: 105.9 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.361, allocations: 25.7 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.3611, allocations: 88.12 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3611, allocations: 11.91 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.3611, allocations: 21.7 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.3613, allocations: 322.7 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.822e-05/0.3613, allocations: 8 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.3614, allocations: 89.97 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/0.3615, allocations: 28.8 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3615, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001012/0.3616, allocations: 53.69 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3616, allocations: 12.03 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3616, allocations: 448 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3616, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.3617, allocations: 7.984 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.3617, allocations: 0 / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3618, allocations: 19.92 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3618, allocations: 4 kB / 1.367 GB, free: 9.973 MB / 1.061 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.703e-05/0.3619, allocations: 117.7 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.3619, allocations: 7.953 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.362, allocations: 11.69 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.362, allocations: 0 / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.362, allocations: 3.938 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.362, allocations: 0 / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.3621, allocations: 140.7 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3621, allocations: 0 / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.3621, allocations: 0 / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3621, allocations: 0 / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3621, allocations: 4 kB / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3621, allocations: 0 / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3621, allocations: 0 / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.3623, allocations: 93.05 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.3623, allocations: 15.98 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3623, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.3624, allocations: 7.984 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.3625, allocations: 11.94 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.3625, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.3625, allocations: 83.27 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3625, allocations: 0 / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001861/0.3627, allocations: 19.95 kB / 1.368 GB, free: 9.387 MB / 1.061 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0004742/0.3632, allocations: 0.6263 MB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.3633, allocations: 35.86 kB / 1.368 GB, free: 8.695 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3633, allocations: 4 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.3633, allocations: 12.28 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.3635, allocations: 0 / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3646, allocations: 1.178 MB / 1.369 GB, free: 7.422 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.125e-05/0.3647, allocations: 63.34 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.3647, allocations: 7.984 kB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.3648, allocations: 19.38 kB / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.3648, allocations: 96 / 1.37 GB, free: 7.312 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.3923, allocations: 2.358 MB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 7.25 kB / 1.372 GB, free: 5.105 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.11414370778948]