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.001934/0.001934, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002556/0.002556, allocations: 211.9 kB / 22.24 MB, free: 5.258 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.604/1.604, allocations: 230.6 MB / 256 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.809/2.809, allocations: 476 MB / 0.7699 GB, free: 4.715 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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_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.00215/0.00215, allocations: 67.56 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002524/0.3184, allocations: 1.261 MB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3196, allocations: 0.8064 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.3196, allocations: 0 / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.3197, allocations: 4 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3199, allocations: 15.92 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.548e-05/0.32, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.32, allocations: 15.92 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.3201, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.841e-05/0.3201, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3202, allocations: 11.17 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3203, allocations: 3.984 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.3203, allocations: 11.94 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.841e-05/0.3203, allocations: 7.938 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.3204, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.026e-05/0.3204, allocations: 19.91 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3205, allocations: 4 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3205, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3205, allocations: 0 / 1.285 GB, free: 10.27 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.0003377/0.3208, allocations: 242 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3208, allocations: 8.031 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.3209, allocations: 110 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.321, allocations: 80.17 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3211, allocations: 193.8 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.3212, allocations: 150.9 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.3213, allocations: 154.9 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.702e-05/0.3214, allocations: 103.4 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.3214, allocations: 83.16 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.3215, allocations: 150.6 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.701e-05/0.3215, allocations: 154.6 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.3216, allocations: 154.5 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.3219, allocations: 417 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.322, allocations: 173.1 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.322, allocations: 84.14 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.3221, allocations: 79.28 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.3221, allocations: 105.8 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.3221, allocations: 3.938 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.223e-05/0.3222, allocations: 29.64 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3223, allocations: 130.7 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3224, allocations: 101.8 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3224, allocations: 25.7 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.3224, allocations: 80.14 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3224, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.3225, allocations: 13.72 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3226, allocations: 314.8 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.141e-06/0.3226, allocations: 48 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.212e-05/0.3227, allocations: 37.7 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.3227, allocations: 75.28 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/0.3227, allocations: 75.28 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.979e-05/0.3228, allocations: 37.62 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.3228, allocations: 83.22 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.3229, allocations: 75.28 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.171e-05/0.3229, allocations: 158.5 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.901e-05/0.323, allocations: 75.28 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-05/0.323, allocations: 158.5 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3232, allocations: 83.22 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.3232, allocations: 83.27 kB / 1.289 GB, free: 6.059 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.0001401/0.3233, allocations: 260.4 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.3234, allocations: 108.9 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.3235, allocations: 108.1 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.948e-05/0.3236, allocations: 176.5 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.687e-05/0.3236, allocations: 188.4 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-05/0.3237, allocations: 184.2 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.324, allocations: 376.2 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-05/0.3241, allocations: 117 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.3241, allocations: 101 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/0.3242, allocations: 192.1 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.3243, allocations: 180.3 kB / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.617e-05/0.3243, allocations: 180.2 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.092e-05/0.3244, allocations: 176.3 kB / 1.291 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.3246, allocations: 311.8 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.3246, allocations: 101 kB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.611e-05/0.3247, allocations: 192.1 kB / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.3248, allocations: 101 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.3249, allocations: 184.2 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.325, allocations: 109 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.325, allocations: 83.27 kB / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.325, allocations: 0 / 1.292 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002592/0.3253, allocations: 0 / 1.292 GB, free: 2.508 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.0006206/0.3259, allocations: 0.8257 MB / 1.293 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.349e-05/0.3259, allocations: 4 kB / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3259, allocations: 0 / 1.293 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3259, allocations: 4 kB / 1.293 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.3263, allocations: 465.9 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3277, allocations: 1.552 MB / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.944e-05/0.3277, allocations: 59.34 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.3278, allocations: 7.938 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.3278, allocations: 11.38 kB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of SimCode: time 4.7e-07/0.3278, allocations: 0 / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.3635, allocations: 1.68 MB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.8, allocations: 3.938 kB / 1.296 GB, free: 13.95 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.627673564944416]