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.001337/0.001337, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00149/0.00149, allocations: 216.9 kB / 22.25 MB, free: 5.105 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.84 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.149/3.149, allocations: 0.49 GB / 0.7951 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.002006/0.002006, allocations: 72.84 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4026, allocations: 176.1 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002378/0.4049, allocations: 1.264 MB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4062, allocations: 0.8067 MB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.4063, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/0.4063, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.4066, allocations: 15.92 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.949e-05/0.4066, allocations: 7.984 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.4067, allocations: 4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/0.4068, allocations: 7.984 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.809e-05/0.4068, allocations: 7.938 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.4069, allocations: 7.984 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4069, allocations: 3.938 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.329e-05/0.407, allocations: 8 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.407, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.407, allocations: 7.984 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.4072, allocations: 12.2 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4072, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4072, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.4072, allocations: 4 kB / 1.328 GB, free: 15.38 MB / 1.029 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.0003685/0.4075, allocations: 250.4 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4076, allocations: 12.03 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.914e-05/0.4076, allocations: 106 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.4077, allocations: 80.16 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4079, allocations: 197.8 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.408, allocations: 154.9 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/0.408, allocations: 154.9 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.248e-05/0.4081, allocations: 101.5 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/0.4082, allocations: 79.22 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.4082, allocations: 150.6 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.4083, allocations: 150.6 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.4084, allocations: 154.6 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.4087, allocations: 425 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.742e-05/0.4088, allocations: 165.2 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.4088, allocations: 88.14 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.4088, allocations: 79.28 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.4089, allocations: 109.8 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.4089, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.627e-05/0.409, allocations: 33.58 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.4091, allocations: 126.7 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4092, allocations: 105.8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4092, allocations: 25.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.4092, allocations: 80.14 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.4092, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.4093, allocations: 13.72 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4094, allocations: 314.8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.4094, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.4095, allocations: 33.69 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/0.4095, allocations: 79.28 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-05/0.4095, allocations: 75.28 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.858e-05/0.4096, allocations: 37.64 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.4096, allocations: 83.22 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-05/0.4097, allocations: 75.28 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.369e-05/0.4097, allocations: 154.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.217e-05/0.4098, allocations: 79.22 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.205e-05/0.4098, allocations: 154.6 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.41, allocations: 87.2 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.41, allocations: 79.27 kB / 1.332 GB, free: 11.15 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.0001331/0.4101, allocations: 264.9 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.4102, allocations: 109.1 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.4103, allocations: 116 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.972e-05/0.4103, allocations: 184.3 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-05/0.4104, allocations: 180.2 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.278e-05/0.4105, allocations: 176.3 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.4108, allocations: 380.3 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.798e-05/0.4108, allocations: 116.9 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.4109, allocations: 101 kB / 1.333 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.153e-05/0.411, allocations: 184.1 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.4111, allocations: 184.3 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.717e-05/0.4111, allocations: 180.2 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.926e-05/0.4112, allocations: 180.2 kB / 1.334 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.4114, allocations: 303.8 kB / 1.334 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.4114, allocations: 112.9 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.23e-05/0.4115, allocations: 180.2 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.4116, allocations: 108.9 kB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.4117, allocations: 176.3 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.4118, allocations: 112.9 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.4118, allocations: 83.27 kB / 1.335 GB, free: 7.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4118, allocations: 0 / 1.335 GB, free: 7.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000271/0.4121, allocations: 4 kB / 1.335 GB, free: 7.578 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.0008417/0.4129, allocations: 0.8165 MB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.151e-05/0.413, allocations: 7.938 kB / 1.336 GB, free: 6.723 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.413, allocations: 4 kB / 1.336 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.413, allocations: 4 kB / 1.336 GB, free: 6.715 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4134, allocations: 453.7 kB / 1.336 GB, free: 6.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4149, allocations: 1.56 MB / 1.338 GB, free: 4.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.035e-05/0.4149, allocations: 55.36 kB / 1.338 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.4149, allocations: 0 / 1.338 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.415, allocations: 15.42 kB / 1.338 GB, free: 4.543 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.415, allocations: 0 / 1.338 GB, free: 4.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.4447, allocations: 1.699 MB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.26, allocations: 15.16 kB / 1.34 GB, free: 3.004 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.100627718988108]