Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.0008541/0.0008542, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.004558/0.004558, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.16/1.16, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.208/2.208, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002651/0.0002651, allocations: 12 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4958, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.0009956/0.4968, allocations: 0.9645 MB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008208/0.4976, allocations: 0.7032 MB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.146e-05/0.4976, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.4977, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.4978, allocations: 15.97 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.25e-05/0.4979, allocations: 7.938 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.487e-05/0.4979, allocations: 15.98 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.498, allocations: 4 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.498, allocations: 4 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.4981, allocations: 7.984 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.4981, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.079e-05/0.4982, allocations: 11.98 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.4982, allocations: 3.984 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.4983, allocations: 37.64 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.965e-05/0.4983, allocations: 15.92 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.4983, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4983, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.4983, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.7794 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.0002411/0.4986, allocations: 317.8 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.4986, allocations: 15.97 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.4987, allocations: 106 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.4987, allocations: 80.22 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.4988, allocations: 239.7 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.041e-05/0.4989, allocations: 150.9 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.4989, allocations: 154.9 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.898e-05/0.499, allocations: 109.5 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.499, allocations: 79.22 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.4991, allocations: 154.5 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.4991, allocations: 150.6 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.4992, allocations: 162.6 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.4994, allocations: 438 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.725e-05/0.4995, allocations: 173.1 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.4995, allocations: 92.06 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4995, allocations: 79.27 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.4996, allocations: 109.8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.4996, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.371e-05/0.4996, allocations: 29.64 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.4997, allocations: 126.7 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.4998, allocations: 105.8 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.4998, allocations: 25.7 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.4998, allocations: 80.14 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-06/0.4998, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.4998, allocations: 9.719 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.4999, allocations: 314.8 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-06/0.4999, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.4999, allocations: 3.938 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/0.5, allocations: 75.28 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/0.5, allocations: 75.28 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.099e-05/0.5, allocations: 33.7 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.5001, allocations: 87.25 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.5001, allocations: 79.27 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.845e-05/0.5002, allocations: 162.5 kB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.707e-05/0.5002, allocations: 75.28 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-05/0.5002, allocations: 154.5 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.742e-05/0.5003, allocations: 79.28 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.5004, allocations: 79.28 kB / 1.029 GB, free: 9.676 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 (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 9.19e-05/0.5004, allocations: 268.9 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.5005, allocations: 108.9 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.5005, allocations: 104.1 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/0.5006, allocations: 184.5 kB / 1.03 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.71e-05/0.5006, allocations: 184.3 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.921e-05/0.5007, allocations: 196.2 kB / 1.03 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.5009, allocations: 393.2 kB / 1.03 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/0.5009, allocations: 105 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.501, allocations: 108.9 kB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.156e-05/0.501, allocations: 180.2 kB / 1.031 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.5011, allocations: 188.2 kB / 1.031 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.467e-05/0.5011, allocations: 184.2 kB / 1.031 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.343e-05/0.5012, allocations: 176.3 kB / 1.031 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.5013, allocations: 311.7 kB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.104e-05/0.5013, allocations: 186 kB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.5014, allocations: 184.2 kB / 1.032 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-05/0.5015, allocations: 105 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.5015, allocations: 180.2 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.5015, allocations: 105 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.5016, allocations: 83.28 kB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5016, allocations: 4 kB / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002315/0.5018, allocations: 7.984 kB / 1.032 GB, free: 5.98 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.0003862/0.5022, allocations: 0.8279 MB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 2.55e-05/0.5022, allocations: 4 kB / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5023, allocations: 0 / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.5023, allocations: 0 / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.5026, allocations: 0.5185 MB / 1.034 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008493/0.5034, allocations: 1.567 MB / 1.035 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.5036, allocations: 0.6731 MB / 1.036 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.149e-05/0.5036, allocations: 3.984 kB / 1.036 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.5036, allocations: 11.44 kB / 1.036 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5036, allocations: 0 / 1.036 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5219, allocations: 1.013 MB / 1.037 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.5221, allocations: 244 kB / 1.037 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.16, allocations: 0 / 1.037 GB, free: 1.191 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches