Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001556/0.001556, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001986/0.001986, allocations: 224.2 kB / 23.03 MB, free: 4.945 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.209/3.209, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001974/0.001974, allocations: 62.84 kB / 1.17 GB, free: 19.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3782, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002478/0.3807, allocations: 1.273 MB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.382, allocations: 0.8261 MB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.382, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.382, allocations: 0 / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002298/0.3822, allocations: 11.92 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.3824, allocations: 50.17 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.953e-05/0.3825, allocations: 27.86 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.3825, allocations: 4 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.3826, allocations: 15.98 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.3827, allocations: 10.17 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3827, allocations: 0 / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.592e-05/0.3828, allocations: 11.92 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.3828, allocations: 7.938 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.3828, allocations: 11.98 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.552e-05/0.3829, allocations: 20.14 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3829, allocations: 0 / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3829, allocations: 0 / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3829, allocations: 0 / 1.347 GB, free: 13.7 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.0003469/0.3833, allocations: 254.4 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3833, allocations: 12.03 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.727e-05/0.3834, allocations: 83.45 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.574e-05/0.3834, allocations: 110 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.3835, allocations: 80.22 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3837, allocations: 189.7 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.3837, allocations: 150.9 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.3838, allocations: 154.9 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.902e-05/0.3839, allocations: 121.2 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.384, allocations: 75.28 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/0.384, allocations: 150.6 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.19e-05/0.3841, allocations: 154.6 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.3842, allocations: 150.6 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.3845, allocations: 425 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.3846, allocations: 169.1 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.3847, allocations: 80.14 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.3847, allocations: 75.28 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.105e-05/0.3848, allocations: 117.8 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3848, allocations: 0 / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.537e-05/0.3849, allocations: 33.62 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.3849, allocations: 130.6 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3851, allocations: 109.8 kB / 1.35 GB, free: 10.76 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3851, allocations: 29.7 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.3851, allocations: 80.14 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.3851, allocations: 3.938 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.3852, allocations: 17.72 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3853, allocations: 314.8 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.3854, allocations: 3.984 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.3854, allocations: 33.7 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.3854, allocations: 20.84 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3854, allocations: 0 / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.3856, allocations: 49.69 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3856, allocations: 7.938 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3856, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3856, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.113e-06/0.3856, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.3856, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.248e-05/0.3857, allocations: 7.984 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3857, allocations: 0 / 1.351 GB, free: 10.16 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001356/0.3858, allocations: 185.1 kB / 1.351 GB, free: 9.969 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.3859, allocations: 104.9 kB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/0.386, allocations: 128.2 kB / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.862e-05/0.3861, allocations: 176.3 kB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.969e-05/0.3862, allocations: 176.5 kB / 1.351 GB, free: 9.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.724e-05/0.3863, allocations: 184.2 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.3865, allocations: 380.4 kB / 1.352 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.869e-05/0.3866, allocations: 108.9 kB / 1.352 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.3866, allocations: 101 kB / 1.352 GB, free: 8.531 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.048e-05/0.3867, allocations: 184.2 kB / 1.352 GB, free: 8.344 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.3868, allocations: 188.2 kB / 1.353 GB, free: 8.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.362e-05/0.3869, allocations: 180.3 kB / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.431e-05/0.387, allocations: 188.2 kB / 1.353 GB, free: 7.777 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.3872, allocations: 299.8 kB / 1.353 GB, free: 7.461 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.3873, allocations: 120.9 kB / 1.353 GB, free: 7.336 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/0.3874, allocations: 176.3 kB / 1.353 GB, free: 7.156 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.3874, allocations: 104.9 kB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-05/0.3875, allocations: 184.2 kB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.3876, allocations: 104.9 kB / 1.354 GB, free: 6.75 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.3877, allocations: 87.27 kB / 1.354 GB, free: 6.664 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3877, allocations: 0 / 1.354 GB, free: 6.664 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002341/0.3879, allocations: 7.938 kB / 1.354 GB, free: 6.656 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.0007504/0.3886, allocations: 0.8243 MB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.431e-05/0.3887, allocations: 4 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3887, allocations: 0 / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.339e-06/0.3887, allocations: 3.938 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3891, allocations: 455.7 kB / 1.355 GB, free: 5.348 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.3904, allocations: 1.298 MB / 1.356 GB, free: 3.969 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.246e-05/0.3904, allocations: 63.5 kB / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.3904, allocations: 0 / 1.357 GB, free: 3.887 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.3905, allocations: 7.438 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3905, allocations: 0 / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.4142, allocations: 1.436 MB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.59, allocations: 12.72 kB / 1.358 GB, free: 2.594 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.56744678900577]