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.00139/0.00139, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001471/0.001471, allocations: 213.4 kB / 23.03 MB, free: 4.926 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.782/2.782, allocations: 476.8 MB / 0.7715 GB, free: 3.875 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.002047/0.002047, allocations: 63.86 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3679, allocations: 169.9 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002605/0.3705, allocations: 1.286 MB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3719, allocations: 0.8182 MB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.3719, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.3719, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.3722, allocations: 15.91 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3724, allocations: 53.23 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.908e-05/0.3725, allocations: 15.94 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.3725, allocations: 7.984 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.3726, allocations: 15.98 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.3727, allocations: 7.938 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3727, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.3728, allocations: 11.98 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.3728, allocations: 7.984 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.3728, allocations: 3.938 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.373, allocations: 27.97 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.373, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.373, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.373, allocations: 0 / 1.286 GB, free: 8.41 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.0003837/0.3734, allocations: 257.2 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3734, allocations: 11.97 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.432e-05/0.3734, allocations: 79.47 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.3735, allocations: 110 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.255e-05/0.3736, allocations: 80.22 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3737, allocations: 181.8 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.3738, allocations: 154.9 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.3739, allocations: 154.9 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.251e-05/0.374, allocations: 107.1 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.374, allocations: 79.28 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.3741, allocations: 150.6 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.142e-05/0.3741, allocations: 158.5 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.3742, allocations: 150.6 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.3746, allocations: 421 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.3747, allocations: 173.2 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.3747, allocations: 80.14 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.581e-05/0.3748, allocations: 75.28 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.3748, allocations: 129.7 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3748, allocations: 3.938 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.723e-05/0.3749, allocations: 29.66 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.375, allocations: 130.7 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3752, allocations: 105.8 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.3752, allocations: 29.7 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.3753, allocations: 80.14 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.3753, allocations: 0 / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.3753, allocations: 13.72 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3755, allocations: 318.8 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.3755, allocations: 4 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.3756, allocations: 37.7 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.3756, allocations: 20.78 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3756, allocations: 0 / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001158/0.3757, allocations: 41.7 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3757, allocations: 7.938 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.3758, allocations: 0 / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3758, allocations: 3.984 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3758, allocations: 0 / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.3758, allocations: 0 / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.323e-05/0.3759, allocations: 8.125 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.3759, allocations: 0 / 1.29 GB, free: 4.887 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.0001285/0.376, allocations: 193 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.3761, allocations: 116.8 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.3762, allocations: 108.5 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.714e-05/0.3763, allocations: 180.2 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.931e-05/0.3764, allocations: 180.3 kB / 1.29 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001155/0.3765, allocations: 180.3 kB / 1.29 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.3768, allocations: 380.2 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.651e-05/0.3768, allocations: 101 kB / 1.291 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.3769, allocations: 108.9 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.512e-05/0.377, allocations: 188.2 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/0.377, allocations: 176.3 kB / 1.291 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.824e-05/0.3771, allocations: 180.2 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001097/0.3772, allocations: 180.5 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.3774, allocations: 315.8 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.3775, allocations: 108.9 kB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.3776, allocations: 188.2 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.3777, allocations: 101.2 kB / 1.292 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.3778, allocations: 188.2 kB / 1.293 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.3778, allocations: 105 kB / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.3779, allocations: 87.28 kB / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3779, allocations: 0 / 1.293 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002324/0.3781, allocations: 7.938 kB / 1.293 GB, free: 1.387 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.0008055/0.3789, allocations: 0.8221 MB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.379, allocations: 8 kB / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.379, allocations: 0 / 1.294 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.379, allocations: 4 kB / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.3794, allocations: 458.2 kB / 1.294 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.3808, allocations: 1.291 MB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.514e-05/0.3808, allocations: 59.34 kB / 1.295 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.054e-05/0.3809, allocations: 0 / 1.295 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.3809, allocations: 15.38 kB / 1.295 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3809, allocations: 3.938 kB / 1.295 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.4094, allocations: 1.437 MB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 8.75 kB / 1.297 GB, free: 13.33 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.727009970112704]