Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001725/0.001725, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.001604/0.001604, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.219/3.219, allocations: 0.49 GB / 0.7916 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_12_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.00205/0.00205, allocations: 80.27 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.399, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003034/0.4021, allocations: 1.482 MB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005055/0.4026, allocations: 191.4 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.4026, allocations: 0 / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.4026, allocations: 3.938 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.4029, allocations: 27.84 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.4031, allocations: 49.67 kB / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.4032, allocations: 67.78 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.4033, allocations: 3.938 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.4034, allocations: 27.97 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.305e-05/0.4035, allocations: 23.86 kB / 1.323 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.4035, allocations: 4 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.4035, allocations: 4 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.4036, allocations: 15.92 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.4036, allocations: 27.91 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.4037, allocations: 43.88 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4037, allocations: 0 / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4037, allocations: 0 / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.4037, allocations: 0 / 1.323 GB, free: 1.375 MB / 1.014 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.0005809/0.4043, allocations: 353.3 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4044, allocations: 15.98 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.4044, allocations: 30.75 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.4044, allocations: 8.891 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.4046, allocations: 172.3 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.4046, allocations: 8.375 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.4046, allocations: 4.359 kB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.4048, allocations: 72.77 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4048, allocations: 7.922 kB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4048, allocations: 0 / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4048, allocations: 0 / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.4049, allocations: 19.94 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.4054, allocations: 284.8 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.4055, allocations: 34.67 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.4055, allocations: 20.84 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.4055, allocations: 3.938 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.4057, allocations: 63.39 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4057, allocations: 0 / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002252/0.4059, allocations: 81.78 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.406, allocations: 102.8 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4061, allocations: 105.8 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4061, allocations: 29.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.4062, allocations: 84.09 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.4062, allocations: 7.953 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.4063, allocations: 25.7 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.4064, allocations: 318.8 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.4064, allocations: 12 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.4065, allocations: 34.56 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.119e-05/0.4066, allocations: 32.78 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4066, allocations: 0 / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001198/0.4067, allocations: 53.7 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4067, allocations: 4 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4067, allocations: 8.453 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4067, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.4068, allocations: 8 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4068, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4069, allocations: 19.88 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4069, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 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.819e-05/0.407, allocations: 117.8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.407, allocations: 4 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.4071, allocations: 7.5 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4071, allocations: 4 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4071, allocations: 3.938 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4071, allocations: 3.984 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.4073, allocations: 173.6 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4073, allocations: 3.938 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.4073, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4073, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4073, allocations: 7.984 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4073, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4073, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.4075, allocations: 93.02 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.4075, allocations: 85.09 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.4075, allocations: 0 / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4077, allocations: 11.98 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.4077, allocations: 7.984 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4077, allocations: 7.938 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.214e-05/0.4078, allocations: 83.28 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4078, allocations: 7.938 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001955/0.408, allocations: 12 kB / 1.325 GB, free: 14.4 MB / 1.029 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.000518/0.4085, allocations: 0.6202 MB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.4086, allocations: 31.92 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4086, allocations: 0 / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.4087, allocations: 19.98 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.4088, allocations: 4 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.41, allocations: 1.173 MB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.4103, allocations: 0.6807 MB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.4104, allocations: 12.25 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.4104, allocations: 11.44 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.4104, allocations: 0 / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.4338, allocations: 1.78 MB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.449, allocations: 14.55 kB / 1.33 GB, free: 10.07 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.09400591882877]