Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001268/0.001268, allocations: 109.6 kB / 19.73 MB, free: 2.227 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.00141/0.00141, allocations: 216.6 kB / 23.05 MB, free: 5.062 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.219/3.219, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_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.001905/0.001905, allocations: 64.88 kB / 1.171 GB, free: 19.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3565, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003009/0.3595, allocations: 1.259 MB / 1.347 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3608, allocations: 0.8066 MB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3609, allocations: 0 / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.3609, allocations: 7.984 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.3611, allocations: 11.94 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.395e-05/0.3612, allocations: 4 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.3612, allocations: 15.91 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.3613, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.057e-05/0.3613, allocations: 4 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3614, allocations: 7.938 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.3614, allocations: 0 / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.88e-05/0.3615, allocations: 15.97 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.3616, allocations: 0 / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.3616, allocations: 8 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.404e-05/0.3617, allocations: 16.2 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3617, allocations: 3.984 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3617, allocations: 3.938 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3617, allocations: 4 kB / 1.347 GB, free: 14.32 MB / 1.045 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.0003475/0.362, allocations: 246.3 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3621, allocations: 12.03 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.536e-05/0.3621, allocations: 79.45 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.521e-05/0.3622, allocations: 110 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.3623, allocations: 76.22 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3625, allocations: 189.8 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.3625, allocations: 154.9 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.3626, allocations: 150.9 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.951e-05/0.3627, allocations: 105.3 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/0.3627, allocations: 79.28 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.3628, allocations: 162.5 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.205e-05/0.3629, allocations: 150.6 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/0.363, allocations: 150.6 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.3634, allocations: 417 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.3635, allocations: 173.2 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.3635, allocations: 84.08 kB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3636, allocations: 75.28 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/0.3636, allocations: 117.8 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3636, allocations: 0 / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.609e-05/0.3637, allocations: 29.7 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.3638, allocations: 130.7 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3639, allocations: 93.86 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3639, allocations: 29.7 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.364, allocations: 88.12 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.364, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.364, allocations: 9.719 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3642, allocations: 310.8 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.3642, allocations: 4 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.3642, allocations: 7.938 kB / 1.351 GB, free: 10.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.3642, allocations: 75.28 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.262e-05/0.3643, allocations: 75.28 kB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.86e-05/0.3643, allocations: 29.7 kB / 1.351 GB, free: 10.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.3644, allocations: 87.22 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-05/0.3644, allocations: 79.27 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.19e-05/0.3645, allocations: 162.5 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.437e-05/0.3645, allocations: 79.28 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.637e-05/0.3646, allocations: 158.4 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.3648, allocations: 75.42 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.3648, allocations: 83.3 kB / 1.351 GB, free: 10.05 MB / 1.045 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.0001426/0.3649, allocations: 268.3 kB / 1.352 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.365, allocations: 116.9 kB / 1.352 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.3651, allocations: 111.9 kB / 1.352 GB, free: 9.535 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/0.3652, allocations: 180.2 kB / 1.352 GB, free: 9.352 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/0.3653, allocations: 176.3 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.905e-05/0.3654, allocations: 184.2 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.3656, allocations: 380.3 kB / 1.353 GB, free: 8.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-05/0.3657, allocations: 101 kB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.3657, allocations: 108.9 kB / 1.353 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.883e-05/0.3658, allocations: 188.1 kB / 1.353 GB, free: 8.152 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.309e-05/0.3659, allocations: 184.2 kB / 1.353 GB, free: 7.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.117e-05/0.366, allocations: 176.3 kB / 1.353 GB, free: 7.785 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.263e-05/0.366, allocations: 184.3 kB / 1.354 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.3662, allocations: 307.8 kB / 1.354 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.3663, allocations: 108.9 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.3664, allocations: 176.3 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.3665, allocations: 113 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.444e-05/0.3665, allocations: 180.2 kB / 1.354 GB, free: 6.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.3666, allocations: 105 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.3667, allocations: 83.45 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3667, allocations: 0 / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002687/0.3669, allocations: 4 kB / 1.355 GB, free: 6.484 MB / 1.045 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.0007426/0.3677, allocations: 0.8204 MB / 1.355 GB, free: 5.633 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.565e-05/0.3677, allocations: 8 kB / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3677, allocations: 0 / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3677, allocations: 0 / 1.355 GB, free: 5.625 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.3681, allocations: 461.5 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3696, allocations: 1.562 MB / 1.357 GB, free: 3.535 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.37, allocations: 0.6805 MB / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.652e-05/0.37, allocations: 0 / 1.358 GB, free: 2.828 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.37, allocations: 15.44 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/0.37, allocations: 3.938 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.3932, allocations: 1.29 MB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.46, allocations: 7.266 kB / 1.359 GB, free: 1.703 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.19178297498729]