Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001633/0.001633, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001921/0.001921, allocations: 220.4 kB / 23.05 MB, free: 5.074 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7715 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="cs",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.00199/0.00199, allocations: 68.58 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3679, allocations: 170 MB / 1.284 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00237/0.3703, allocations: 1.282 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3715, allocations: 0.8142 MB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.3715, allocations: 0 / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.3716, allocations: 0 / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.3718, allocations: 19.91 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.372, allocations: 45.12 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.372, allocations: 19.92 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.3721, allocations: 8 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.88e-05/0.3721, allocations: 23.91 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3723, allocations: 4 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.3723, allocations: 0 / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.684e-05/0.3723, allocations: 15.97 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.3724, allocations: 3.938 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.3724, allocations: 11.94 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.546e-05/0.3725, allocations: 27.7 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3725, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3725, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3725, allocations: 4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003262/0.3728, allocations: 258.4 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3729, allocations: 12.03 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.175e-05/0.3729, allocations: 75.47 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.373, allocations: 110 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.285e-05/0.373, allocations: 80.2 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3732, allocations: 189.8 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.3732, allocations: 154.9 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.3733, allocations: 150.9 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/0.3734, allocations: 111.1 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.3734, allocations: 79.28 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.3735, allocations: 150.6 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.851e-05/0.3735, allocations: 158.5 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.322e-05/0.3736, allocations: 150.6 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.3739, allocations: 421 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.374, allocations: 169.2 kB / 1.289 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.3741, allocations: 84.14 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3741, allocations: 79.22 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.3742, allocations: 117.8 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3742, allocations: 0 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.836e-05/0.3742, allocations: 33.64 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.3743, allocations: 130.6 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3744, allocations: 105.8 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3745, allocations: 29.7 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.3745, allocations: 84.14 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.3745, allocations: 0 / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.3745, allocations: 21.7 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3747, allocations: 314.8 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.3747, allocations: 4 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.3747, allocations: 11.94 kB / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.982e-05/0.3748, allocations: 20.94 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3748, allocations: 4 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001004/0.3749, allocations: 33.7 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3749, allocations: 7.938 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3749, allocations: 4 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.3749, allocations: 0 / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.3749, allocations: 0 / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3749, allocations: 7.922 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.375, allocations: 0 / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.375, allocations: 4 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001064/0.3751, allocations: 185.2 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.3752, allocations: 116.8 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.084e-05/0.3753, allocations: 112.4 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-05/0.3753, allocations: 180.2 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.886e-05/0.3754, allocations: 176.3 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.612e-05/0.3755, allocations: 184.5 kB / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.3757, allocations: 380.2 kB / 1.291 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/0.3758, allocations: 105 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.045e-05/0.3758, allocations: 104.9 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.457e-05/0.3759, allocations: 180.2 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.659e-05/0.376, allocations: 188.2 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.742e-05/0.3761, allocations: 184.2 kB / 1.292 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.197e-05/0.3761, allocations: 176.5 kB / 1.292 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.3763, allocations: 311.8 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.3764, allocations: 112.9 kB / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.3765, allocations: 184.2 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.3765, allocations: 101 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.3766, allocations: 184.1 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.3767, allocations: 109 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.729e-05/0.3767, allocations: 83.28 kB / 1.293 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3767, allocations: 0 / 1.293 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002272/0.377, allocations: 4 kB / 1.293 GB, free: 2.383 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006513/0.3776, allocations: 0.8275 MB / 1.294 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.562e-05/0.3777, allocations: 12 kB / 1.294 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3777, allocations: 0 / 1.294 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3777, allocations: 0 / 1.294 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3781, allocations: 451.7 kB / 1.294 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.3793, allocations: 1.295 MB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.3796, allocations: 0.6768 MB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.3796, allocations: 8.031 kB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.3796, allocations: 11.44 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.3796, allocations: 3.938 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.4093, allocations: 1.381 MB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.43, allocations: 12.59 kB / 1.297 GB, free: 13.74 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.27169322699774]