Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_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.004848/0.004848, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001409/0.001409, allocations: 200.4 kB / 16.68 MB, free: 5.934 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 64.12 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5754/0.5771, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001979/0.5791, allocations: 1.225 MB / 1.221 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.58, allocations: 0.7271 MB / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.5801, allocations: 0 / 1.222 GB, free: 76 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.5801, allocations: 3.984 kB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.5803, allocations: 15.88 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.151e-05/0.5804, allocations: 7.938 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.5804, allocations: 11.97 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.5805, allocations: 4 kB / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.5805, allocations: 4 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.5806, allocations: 8 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.5806, allocations: 0 / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.634e-05/0.5807, allocations: 7.984 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.5807, allocations: 3.984 kB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.5807, allocations: 7.938 kB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.174e-05/0.5808, allocations: 4.109 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.5808, allocations: 3.938 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5808, allocations: 0 / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5808, allocations: 0 / 1.222 GB, free: 15.99 MB / 0.9512 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.0003028/0.5812, allocations: 327.3 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.5812, allocations: 12.03 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.5813, allocations: 106 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.5813, allocations: 88.14 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.5815, allocations: 243.7 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.5816, allocations: 150.9 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.5816, allocations: 158.9 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.106e-05/0.5817, allocations: 105.5 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.5817, allocations: 79.22 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/0.5818, allocations: 154.5 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.362e-05/0.5818, allocations: 154.5 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.5819, allocations: 150.6 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.5822, allocations: 450 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.866e-05/0.5823, allocations: 165.1 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.5823, allocations: 80.14 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.5823, allocations: 79.22 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.5824, allocations: 113.8 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.5824, allocations: 4 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.715e-05/0.5825, allocations: 41.41 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.5825, allocations: 126.7 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.5826, allocations: 97.86 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.5827, allocations: 25.7 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.5827, allocations: 88.12 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.5827, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.5827, allocations: 9.719 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5829, allocations: 318.8 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-06/0.5829, allocations: 0 / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/0.5829, allocations: 3.938 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.5829, allocations: 75.28 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.5829, allocations: 75.28 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.417e-05/0.583, allocations: 29.7 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.583, allocations: 83.22 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.5831, allocations: 83.31 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.413e-05/0.5832, allocations: 162.5 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.687e-05/0.5832, allocations: 76.23 kB / 1.226 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-05/0.5832, allocations: 158.5 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.5834, allocations: 79.28 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.5834, allocations: 75.28 kB / 1.226 GB, free: 11.61 MB / 0.9512 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 0.0001159/0.5835, allocations: 268.3 kB / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.5836, allocations: 112.9 kB / 1.227 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.5836, allocations: 104.1 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/0.5837, allocations: 180.2 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.548e-05/0.5838, allocations: 180.3 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.721e-05/0.5838, allocations: 180.5 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.5841, allocations: 405.2 kB / 1.228 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-05/0.5841, allocations: 112.9 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.813e-05/0.5842, allocations: 104.9 kB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.715e-05/0.5842, allocations: 184.4 kB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.5843, allocations: 180.2 kB / 1.228 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.589e-05/0.5844, allocations: 188.3 kB / 1.228 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-05/0.5844, allocations: 176.3 kB / 1.228 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.5846, allocations: 315.7 kB / 1.229 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.986e-05/0.5847, allocations: 182 kB / 1.229 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.741e-05/0.5847, allocations: 196.1 kB / 1.229 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.5848, allocations: 105 kB / 1.229 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.5849, allocations: 180.2 kB / 1.229 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.5849, allocations: 101 kB / 1.229 GB, free: 8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.585, allocations: 83.28 kB / 1.23 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.585, allocations: 0 / 1.23 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002354/0.5852, allocations: 6.812 kB / 1.23 GB, free: 7.914 MB / 0.9512 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.0005156/0.5858, allocations: 0.8262 MB / 1.23 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 3.434e-05/0.5858, allocations: 0 / 1.23 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.5858, allocations: 4 kB / 1.23 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.5858, allocations: 4 kB / 1.23 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.5862, allocations: 454 kB / 1.231 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.5872, allocations: 1.567 MB / 1.232 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5875, allocations: 0.6729 MB / 1.233 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.458e-05/0.5875, allocations: 7.906 kB / 1.233 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.5875, allocations: 14.34 kB / 1.233 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.5875, allocations: 0 / 1.233 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.508/2.095, allocations: 1.202 MB / 1.234 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.73/18.83, allocations: 16.23 kB / 1.234 GB, free: 3.215 MB / 0.9512 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches