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.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.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.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.196/1.196, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.31/2.31, allocations: 437.1 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.89 kB / 0.8693 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4934/0.4947, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001963/0.4967, allocations: 1.231 MB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008027/0.4975, allocations: 0.727 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.29e-05/0.4975, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.4975, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.4977, allocations: 19.92 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.043e-05/0.4978, allocations: 3.984 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.618e-05/0.4978, allocations: 4 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.412e-05/0.4979, allocations: 7.938 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.4979, allocations: 0 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.498, allocations: 8.922 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.498, allocations: 0 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.327e-05/0.4981, allocations: 19.98 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.4981, allocations: 3.984 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.4982, allocations: 11.94 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.428e-05/0.4982, allocations: 4 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4982, allocations: 3.984 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4982, allocations: 0 / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.4982, allocations: 0 / 1.019 GB, free: 420 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.0002812/0.4985, allocations: 321.8 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.4986, allocations: 12.02 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/0.4986, allocations: 106 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.4987, allocations: 84.22 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.4988, allocations: 239.6 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.4989, allocations: 150.9 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.4989, allocations: 150.9 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.754e-05/0.499, allocations: 105.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.499, allocations: 87.2 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.499, allocations: 154.6 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.4991, allocations: 154.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.947e-05/0.4991, allocations: 154.5 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.4994, allocations: 449.9 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.4994, allocations: 169.1 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.4995, allocations: 80.14 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.4995, allocations: 75.28 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4995, allocations: 109.8 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.4995, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.11e-05/0.4996, allocations: 37.58 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4996, allocations: 130.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.4997, allocations: 101.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.4997, allocations: 25.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.4998, allocations: 84.14 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.4998, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.4998, allocations: 13.72 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.4999, allocations: 314.8 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-06/0.4999, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.007e-05/0.4999, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.161e-05/0.4999, allocations: 75.28 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/0.5, allocations: 75.28 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.994e-05/0.5, allocations: 33.64 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.5, allocations: 89.08 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.5001, allocations: 75.28 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.501e-05/0.5001, allocations: 154.8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/0.5001, allocations: 83.25 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.518e-05/0.5002, allocations: 154.6 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.5003, allocations: 83.22 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.5003, allocations: 79.33 kB / 1.023 GB, free: 12.03 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 8.629e-05/0.5004, allocations: 261 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.5005, allocations: 120.8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.5005, allocations: 112.1 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-05/0.5006, allocations: 176.3 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.556e-05/0.5006, allocations: 180.2 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.465e-05/0.5007, allocations: 184.2 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.5008, allocations: 401.4 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/0.5009, allocations: 105 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.5009, allocations: 113 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.442e-05/0.5009, allocations: 184.1 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.501, allocations: 180.2 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-05/0.501, allocations: 180.2 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.092e-05/0.5011, allocations: 180.3 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.5012, allocations: 311.8 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.5013, allocations: 178.1 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.5013, allocations: 196.1 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.5014, allocations: 105 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.5014, allocations: 184.3 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.5015, allocations: 104.9 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.5015, allocations: 79.28 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5015, allocations: 0 / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002391/0.5018, allocations: 11.98 kB / 1.027 GB, free: 8.336 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.0003957/0.5022, allocations: 0.8196 MB / 1.028 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.649e-05/0.5022, allocations: 3.938 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5022, allocations: 0 / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.5022, allocations: 0 / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.5025, allocations: 467.6 kB / 1.028 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008983/0.5034, allocations: 1.566 MB / 1.03 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001723/0.5036, allocations: 0.6768 MB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.223e-05/0.5036, allocations: 3.906 kB / 1.03 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.5036, allocations: 7.438 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5036, allocations: 0 / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07886/0.5825, allocations: 1.173 MB / 1.031 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.57, allocations: 8.453 kB / 1.031 GB, free: 3.66 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