Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001615/0.001615, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.002005/0.002005, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.125/3.125, allocations: 0.49 GB / 0.7916 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.00203/0.00203, allocations: 76.89 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.352, allocations: 176.1 MB / 1.321 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002525/0.3546, allocations: 1.257 MB / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3558, allocations: 0.7275 MB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.3558, allocations: 4 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.3558, allocations: 0 / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.3561, allocations: 15.92 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.268e-05/0.3562, allocations: 3.938 kB / 1.323 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.3562, allocations: 7.984 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.3563, allocations: 4 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.3563, allocations: 3.984 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3565, allocations: 11.38 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.3565, allocations: 0 / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.038e-05/0.3565, allocations: 11.98 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.015e-05/0.3566, allocations: 11.88 kB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.3566, allocations: 7.984 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.103e-05/0.3567, allocations: 8.219 kB / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3567, allocations: 0 / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3567, allocations: 0 / 1.323 GB, free: 1.371 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3567, allocations: 0 / 1.323 GB, free: 1.371 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004259/0.3572, allocations: 331.5 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.3572, allocations: 11.98 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.45e-05/0.3573, allocations: 106 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.24e-05/0.3574, allocations: 80.22 kB / 1.323 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.3575, allocations: 243.6 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/0.3576, allocations: 154.9 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.3577, allocations: 154.9 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.85e-05/0.3578, allocations: 105.5 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/0.3578, allocations: 91.16 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/0.3579, allocations: 150.6 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/0.358, allocations: 150.6 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.105e-05/0.358, allocations: 150.6 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.3584, allocations: 453.9 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.3585, allocations: 169.1 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.3585, allocations: 84.08 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.3586, allocations: 75.28 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/0.3586, allocations: 109.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3586, allocations: 4 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.823e-05/0.3587, allocations: 29.64 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.3588, allocations: 130.7 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3589, allocations: 97.86 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3589, allocations: 29.7 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.3589, allocations: 80.14 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.3589, allocations: 0 / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.359, allocations: 17.72 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3591, allocations: 318.8 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-06/0.3591, allocations: 3.938 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.3591, allocations: 0 / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.3592, allocations: 75.28 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.059e-05/0.3592, allocations: 75.28 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.469e-05/0.3593, allocations: 29.7 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.3593, allocations: 83.22 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.943e-05/0.3594, allocations: 83.25 kB / 1.326 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.043e-05/0.3594, allocations: 158.6 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.258e-05/0.3595, allocations: 79.27 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.909e-05/0.3595, allocations: 158.5 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3597, allocations: 79.28 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.3597, allocations: 79.41 kB / 1.327 GB, free: 12.98 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: 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.0001324/0.3598, allocations: 260.4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.3599, allocations: 109.1 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.36, allocations: 112.1 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.728e-05/0.36, allocations: 192.2 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.798e-05/0.3601, allocations: 180.3 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/0.3602, allocations: 184.2 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.3605, allocations: 401.2 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.474e-05/0.3605, allocations: 105 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.3606, allocations: 104.9 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.3606, allocations: 180.2 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.167e-05/0.3607, allocations: 184.2 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-05/0.3608, allocations: 184.3 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.558e-05/0.3609, allocations: 180.2 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.361, allocations: 315.7 kB / 1.329 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.3611, allocations: 182 kB / 1.33 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.3612, allocations: 188.2 kB / 1.33 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.3613, allocations: 109 kB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.3614, allocations: 188.1 kB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.3614, allocations: 101 kB / 1.33 GB, free: 9.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.3615, allocations: 79.28 kB / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3615, allocations: 0 / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002755/0.3618, allocations: 4 kB / 1.33 GB, free: 9.285 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: 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.0006315/0.3624, allocations: 0.8243 MB / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.458e-05/0.3624, allocations: 0 / 1.331 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3624, allocations: 4 kB / 1.331 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.3624, allocations: 4 kB / 1.331 GB, free: 8.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.3628, allocations: 461.9 kB / 1.332 GB, free: 7.969 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3642, allocations: 1.56 MB / 1.333 GB, free: 6.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3645, allocations: 0.6768 MB / 1.334 GB, free: 5.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.867e-05/0.3645, allocations: 4.094 kB / 1.334 GB, free: 5.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.3645, allocations: 11.44 kB / 1.334 GB, free: 5.613 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3645, allocations: 0 / 1.334 GB, free: 5.613 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.3906, allocations: 1.206 MB / 1.335 GB, free: 4.594 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.174, allocations: 10.75 kB / 1.335 GB, free: 4.586 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.768361492082477]