Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001462/0.001462, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001609/0.001609, allocations: 214.3 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.1 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.823/2.823, allocations: 476.7 MB / 0.7678 GB, free: 9.391 MB / 0.6075 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_11_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.001991/0.001991, allocations: 79.81 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9118/0.9138, allocations: 169.9 MB / 1.279 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002592/0.9164, allocations: 1.28 MB / 1.28 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.9176, allocations: 0.7443 MB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.9176, allocations: 1.281 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.9177, allocations: 3.938 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.9179, allocations: 8.703 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.9181, allocations: 55.77 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.602e-05/0.9182, allocations: 22.55 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.9182, allocations: 6.703 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.9183, allocations: 9.734 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.9184, allocations: 14.86 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.9184, allocations: 0 / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.027e-05/0.9184, allocations: 6.656 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.9185, allocations: 4.75 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.9185, allocations: 19.77 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.936e-05/0.9186, allocations: 18.41 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9186, allocations: 4 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9186, allocations: 0.7812 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.9186, allocations: 3.938 kB / 1.281 GB, free: 10.13 MB / 0.9981 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.0004094/0.919, allocations: 331.3 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.9191, allocations: 9.906 kB / 1.281 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.466e-05/0.9191, allocations: 84.45 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.647e-05/0.9192, allocations: 106 kB / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.9192, allocations: 82.06 kB / 1.282 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.9194, allocations: 238.6 kB / 1.282 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.9195, allocations: 155.8 kB / 1.282 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.9195, allocations: 152.3 kB / 1.282 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.322e-05/0.9196, allocations: 110.6 kB / 1.282 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.9197, allocations: 75.28 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.9197, allocations: 159.4 kB / 1.283 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.9198, allocations: 155.4 kB / 1.283 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.997e-05/0.9198, allocations: 151.3 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.9202, allocations: 449.8 kB / 1.283 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.911e-05/0.9203, allocations: 174.9 kB / 1.283 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.9203, allocations: 80.14 kB / 1.284 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.9203, allocations: 76.38 kB / 1.284 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.9204, allocations: 110.5 kB / 1.284 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9204, allocations: 1.281 kB / 1.284 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.09e-05/0.9205, allocations: 35.61 kB / 1.284 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.9206, allocations: 130.7 kB / 1.284 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.9207, allocations: 106 kB / 1.284 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.9207, allocations: 26.27 kB / 1.284 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.9208, allocations: 81.94 kB / 1.284 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.9208, allocations: 1.125 kB / 1.284 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.9208, allocations: 16.05 kB / 1.284 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9209, allocations: 320.4 kB / 1.284 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.9209, allocations: 2.875 kB / 1.284 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.921, allocations: 13.98 kB / 1.284 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.921, allocations: 13.86 kB / 1.284 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.921, allocations: 0 / 1.284 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001125/0.9211, allocations: 42.23 kB / 1.284 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.9211, allocations: 12.59 kB / 1.284 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.9211, allocations: 0 / 1.284 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.9212, allocations: 5.031 kB / 1.284 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-06/0.9212, allocations: 4 kB / 1.284 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9212, allocations: 1.953 kB / 1.284 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.9213, allocations: 5.953 kB / 1.284 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.9213, allocations: 5.703 kB / 1.284 GB, free: 6.551 MB / 0.9981 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.0001406/0.9214, allocations: 188.5 kB / 1.285 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.098e-05/0.9215, allocations: 112.4 kB / 1.285 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.9216, allocations: 110.3 kB / 1.285 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.614e-05/0.9216, allocations: 186.1 kB / 1.285 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.281e-05/0.9217, allocations: 183.3 kB / 1.285 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.389e-05/0.9218, allocations: 185.4 kB / 1.285 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.9221, allocations: 404.2 kB / 1.286 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/0.9222, allocations: 102.9 kB / 1.286 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.9222, allocations: 105.6 kB / 1.286 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.933e-05/0.9223, allocations: 185.9 kB / 1.286 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/0.9224, allocations: 182 kB / 1.286 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.498e-05/0.9224, allocations: 177.8 kB / 1.286 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.156e-05/0.9225, allocations: 178.1 kB / 1.287 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.9227, allocations: 313.7 kB / 1.287 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.9228, allocations: 189 kB / 1.287 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.815e-05/0.9229, allocations: 182.8 kB / 1.287 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.923, allocations: 102.9 kB / 1.287 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.923, allocations: 185.3 kB / 1.288 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.9231, allocations: 103.1 kB / 1.288 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.9232, allocations: 90.53 kB / 1.288 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9232, allocations: 0 / 1.288 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002441/0.9234, allocations: 3.438 kB / 1.288 GB, free: 2.984 MB / 0.9981 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.0006535/0.924, allocations: 0.8192 MB / 1.289 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.123e-05/0.9241, allocations: 10.41 kB / 1.289 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9241, allocations: 0 / 1.289 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.9241, allocations: 0.5938 kB / 1.289 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.9245, allocations: 460.4 kB / 1.289 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.9258, allocations: 1.298 MB / 1.29 GB, free: 416 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.9261, allocations: 0.6828 MB / 1.291 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.9262, allocations: 2.5 kB / 1.291 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.9262, allocations: 8.531 kB / 1.291 GB, free: 15.7 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.9262, allocations: 0 / 1.291 GB, free: 15.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.9463, allocations: 1.34 MB / 1.292 GB, free: 15.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/9.631, allocations: 13.5 kB / 1.292 GB, free: 15.32 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.92727773700608]