Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.0008244/0.0008244, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001598/0.001598, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8776/0.8776, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.393e-05, allocations: 4.672 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00162/0.001644, allocations: 1.247 MB / 1.001 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007503/0.002394, allocations: 0.8072 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.002421, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.002453, allocations: 7.922 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.002724, allocations: 15.92 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 8.981e-05/0.002814, allocations: 7.938 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.922e-05/0.002883, allocations: 7.984 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.002932, allocations: 4 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.002974, allocations: 11.92 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.003075, allocations: 3.938 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.003092, allocations: 0 / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.593e-05/0.003138, allocations: 11.98 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.0032, allocations: 8 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.003223, allocations: 3.984 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.747e-05/0.003321, allocations: 11.94 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.003324, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.49e-06/0.003329, allocations: 3.984 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003334, allocations: 0 / 1.002 GB, free: 11.31 MB / 0.9636 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.0003234/0.003657, allocations: 242.4 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.003711, allocations: 9.344 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.003758, allocations: 114 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.003816, allocations: 84.11 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.003949, allocations: 189.1 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.003991, allocations: 150.9 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.004035, allocations: 150.9 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.336e-05/0.004088, allocations: 109.5 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.004108, allocations: 75.47 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.004148, allocations: 150.9 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.004184, allocations: 158.6 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.312e-05/0.004227, allocations: 154.5 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.004437, allocations: 417 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.829e-05/0.004496, allocations: 169.1 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.004659, allocations: 80.14 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.00468, allocations: 83.22 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.004712, allocations: 113.8 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.004713, allocations: 0 / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.119e-05/0.004774, allocations: 29.69 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.004815, allocations: 130.6 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.004897, allocations: 97.86 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.004907, allocations: 25.7 kB / 1.004 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.004941, allocations: 84.14 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.004943, allocations: 0 / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.004963, allocations: 17.7 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.005034, allocations: 310.8 kB / 1.005 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-06/0.005038, allocations: 4 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.005059, allocations: 29.67 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.052e-05/0.005079, allocations: 79.28 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.005097, allocations: 79.28 kB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.554e-05/0.005132, allocations: 29.73 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.005159, allocations: 83.28 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.005178, allocations: 83.22 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.206e-05/0.00522, allocations: 158.5 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.005239, allocations: 83.22 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/0.005272, allocations: 154.5 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.85e-05/0.005371, allocations: 83.31 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.005388, allocations: 79.33 kB / 1.006 GB, free: 7.09 MB / 0.9636 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.222e-05/0.00547, allocations: 264.4 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.005505, allocations: 112.8 kB / 1.006 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.005539, allocations: 104.1 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-05/0.005586, allocations: 184.2 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-05/0.005627, allocations: 180.2 kB / 1.006 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/0.005666, allocations: 176.3 kB / 1.007 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.005804, allocations: 380.2 kB / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/0.005826, allocations: 105 kB / 1.007 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.00585, allocations: 108.9 kB / 1.007 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.146e-05/0.005892, allocations: 176.3 kB / 1.007 GB, free: 5.215 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.005935, allocations: 184.2 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-05/0.005973, allocations: 184.2 kB / 1.008 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.961e-05/0.006012, allocations: 180.2 kB / 1.008 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.171e-05/0.006104, allocations: 303.8 kB / 1.008 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.00614, allocations: 112.9 kB / 1.008 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.006191, allocations: 180.3 kB / 1.008 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.006245, allocations: 105 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.006292, allocations: 188.1 kB / 1.009 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.006314, allocations: 101 kB / 1.009 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.006348, allocations: 87.47 kB / 1.009 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006348, allocations: 4 kB / 1.009 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001726/0.006521, allocations: 0 / 1.009 GB, free: 3.539 MB / 0.9636 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.0004403/0.006961, allocations: 0.8317 MB / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 4.802e-05/0.007009, allocations: 0 / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007011, allocations: 0 / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.007013, allocations: 4 kB / 1.01 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.007257, allocations: 463.6 kB / 1.01 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.008328, allocations: 1.564 MB / 1.012 GB, free: 0.5781 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.008373, allocations: 59.34 kB / 1.012 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.008391, allocations: 3.938 kB / 1.012 GB, free: 0.4961 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.008416, allocations: 12.5 kB / 1.012 GB, free: 496 kB / 0.9636 GB Notification: Performance of SimCode: time 4.61e-07/0.008417, allocations: 0 / 1.012 GB, free: 496 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.02312, allocations: 1.827 MB / 1.014 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.48/6.503, allocations: 13.89 kB / 1.014 GB, free: 14.85 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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: 10.490615365095437]