Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001654/0.001654, 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.002122/0.002122, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.803/2.803, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 176] 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.002033/0.002033, allocations: 64.91 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 169.9 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002689/0.3652, allocations: 1.26 MB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3665, allocations: 0.8025 MB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.3665, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.3666, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.3668, allocations: 23.92 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.267e-05/0.3669, allocations: 4 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.702e-05/0.3669, allocations: 11.92 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.367, allocations: 3.984 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.367, allocations: 4 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3671, allocations: 4 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3671, allocations: 3.938 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.302e-05/0.3672, allocations: 7.984 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.3672, allocations: 4 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.3673, allocations: 3.984 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.792e-05/0.3673, allocations: 19.92 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3673, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3673, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3673, allocations: 0 / 1.286 GB, free: 8.5 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.0003363/0.3677, allocations: 247.5 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3677, allocations: 8.031 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.326e-05/0.3678, allocations: 75.47 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.3678, allocations: 110 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.3679, allocations: 80.17 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3681, allocations: 193.8 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.3681, allocations: 150.9 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.3682, allocations: 158.9 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.901e-05/0.3683, allocations: 111.1 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.3683, allocations: 75.28 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/0.3684, allocations: 150.6 kB / 1.287 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/0.3684, allocations: 150.6 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.565e-05/0.3685, allocations: 150.6 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.3688, allocations: 421 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3689, allocations: 173.1 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.369, allocations: 80.14 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.369, allocations: 83.22 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/0.3691, allocations: 113.8 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.3691, allocations: 4 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.358e-05/0.3691, allocations: 29.64 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3692, allocations: 126.7 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3693, allocations: 105.8 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.3694, allocations: 25.7 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.3694, allocations: 80.14 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.3694, allocations: 3.938 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3694, allocations: 13.77 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3696, allocations: 314.8 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.3696, allocations: 0 / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/0.3696, allocations: 33.69 kB / 1.289 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.3697, allocations: 79.28 kB / 1.289 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-05/0.3697, allocations: 75.28 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.427e-05/0.3698, allocations: 29.7 kB / 1.289 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.3698, allocations: 87.22 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.3699, allocations: 79.22 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.455e-05/0.3699, allocations: 150.6 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.623e-05/0.37, allocations: 83.41 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.475e-05/0.37, allocations: 150.6 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.3702, allocations: 79.27 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.3702, allocations: 87.25 kB / 1.29 GB, free: 4.207 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 (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 prepare postOptimizeDAE: time 0.0001432/0.3703, allocations: 260.4 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.3704, allocations: 112.9 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.463e-05/0.3705, allocations: 112.1 kB / 1.291 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-05/0.3706, allocations: 180.3 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.537e-05/0.3706, allocations: 180.4 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.889e-05/0.3707, allocations: 180.3 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.371, allocations: 376.3 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.371, allocations: 104.9 kB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.3711, allocations: 105 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.846e-05/0.3712, allocations: 192.1 kB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/0.3712, allocations: 180.3 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.992e-05/0.3713, allocations: 184.2 kB / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.418e-05/0.3714, allocations: 180.2 kB / 1.292 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.3716, allocations: 303.8 kB / 1.293 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.3716, allocations: 116.9 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/0.3717, allocations: 176.3 kB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.3718, allocations: 108.9 kB / 1.293 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.3719, allocations: 176.3 kB / 1.293 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.3719, allocations: 108.9 kB / 1.293 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.406e-05/0.372, allocations: 87.2 kB / 1.293 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.372, allocations: 4 kB / 1.293 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002772/0.3723, allocations: 7.938 kB / 1.293 GB, free: 0.6484 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.0006739/0.373, allocations: 0.8204 MB / 1.294 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.052e-05/0.373, allocations: 3.938 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.373, allocations: 0 / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.373, allocations: 4 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3734, allocations: 453.9 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.3748, allocations: 1.571 MB / 1.296 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.339e-05/0.3748, allocations: 55.36 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.3748, allocations: 4 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.3749, allocations: 11.42 kB / 1.296 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.3749, allocations: 0 / 1.296 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.3998, allocations: 1.354 MB / 1.298 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 0.75 kB / 1.298 GB, free: 12.44 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.93559843499679]