Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 189 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.206/2.206, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.89 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4863, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001837/0.4882, allocations: 1.335 MB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.4889, allocations: 0.7229 MB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.489, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.489, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.4892, allocations: 7.984 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.4893, allocations: 50.88 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.4894, allocations: 19.98 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.035e-05/0.4894, allocations: 11.98 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.4895, allocations: 11.94 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.4896, allocations: 7.938 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.4896, allocations: 0 / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.812e-05/0.4897, allocations: 15.97 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.4897, allocations: 4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.4897, allocations: 7.938 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.721e-05/0.4898, allocations: 23.95 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4898, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4898, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.4898, allocations: 4 kB / 1.019 GB, free: 496 kB / 0.7637 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.0002589/0.4901, allocations: 329.7 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.4901, allocations: 8.031 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.4902, allocations: 110 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.4902, allocations: 84.16 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.4903, allocations: 243.5 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.4904, allocations: 150.9 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.4904, allocations: 162.9 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.54e-05/0.4905, allocations: 101.5 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.4905, allocations: 83.2 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.77e-05/0.4905, allocations: 150.6 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/0.4906, allocations: 150.6 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.4906, allocations: 158.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.4908, allocations: 453.9 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.796e-05/0.4909, allocations: 169.1 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.4909, allocations: 80.14 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.491, allocations: 79.27 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.491, allocations: 121.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.491, allocations: 3.938 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.635e-05/0.4911, allocations: 33.64 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.4911, allocations: 126.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.4912, allocations: 105.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.4912, allocations: 25.7 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.4913, allocations: 84.14 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.4913, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.4913, allocations: 21.7 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.4914, allocations: 314.8 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.4914, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.4914, allocations: 11.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.4915, allocations: 20.8 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4915, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.098e-05/0.4915, allocations: 45.78 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.4916, allocations: 7.938 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4916, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.4916, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.4916, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.4916, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.4917, allocations: 7.906 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4917, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 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 7.89e-05/0.4918, allocations: 193.1 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.4918, allocations: 112.8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.4919, allocations: 108.5 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/0.4919, allocations: 180.3 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-05/0.492, allocations: 184.2 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-05/0.492, allocations: 176.3 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.4922, allocations: 409.2 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/0.4922, allocations: 109 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.4922, allocations: 101 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.425e-05/0.4923, allocations: 188.1 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.4923, allocations: 176.3 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.387e-05/0.4924, allocations: 184.4 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.08e-05/0.4924, allocations: 188.3 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.4925, allocations: 299.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.4926, allocations: 186.1 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.4927, allocations: 188.4 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.15e-05/0.4927, allocations: 105 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.4928, allocations: 188.2 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.4928, allocations: 101 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.4928, allocations: 87.27 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4928, allocations: 0 / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001999/0.4931, allocations: 7.938 kB / 1.026 GB, free: 9.246 MB / 0.7794 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.0003721/0.4934, allocations: 0.8281 MB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.213e-05/0.4935, allocations: 7.984 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4935, allocations: 0 / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.4935, allocations: 4 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.4938, allocations: 460.3 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.4945, allocations: 1.299 MB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.4947, allocations: 0.6729 MB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.355e-05/0.4947, allocations: 0 / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.4947, allocations: 15.45 kB / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4948, allocations: 0 / 1.029 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.083/1.578, allocations: 1.189 MB / 1.03 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.578, allocations: 232.5 kB / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/3.037, allocations: 4 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches