Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001425/0.001425, 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.001465/0.001465, allocations: 170.3 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.8711/0.8711, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.029e-05, allocations: 5.516 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001737/0.001757, allocations: 1.274 MB / 0.9822 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.003421, allocations: 0.8025 MB / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.003453, allocations: 0 / 0.983 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.003491, allocations: 7.984 kB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.003797, allocations: 11.94 kB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.226e-05/0.003879, allocations: 0 / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.297e-05/0.003952, allocations: 15.91 kB / 0.983 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/0.004016, allocations: 16 kB / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.688e-05/0.004053, allocations: 0 / 0.983 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.004156, allocations: 4 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.004173, allocations: 0 / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.608e-05/0.004219, allocations: 11.97 kB / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.00428, allocations: 4 kB / 0.9831 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.004305, allocations: 3.938 kB / 0.9831 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.004407, allocations: 11.94 kB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.004413, allocations: 4 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.513e-06/0.004415, allocations: 0 / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.004421, allocations: 3.984 kB / 0.9831 GB, free: 420 kB / 0.9323 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.0003392/0.00476, allocations: 252.9 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.004808, allocations: 8.031 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.004871, allocations: 110 kB / 0.9834 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.004958, allocations: 80.22 kB / 0.9835 GB, free: 15.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.0051, allocations: 185.1 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.005152, allocations: 150.9 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.005203, allocations: 150.9 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.982e-05/0.005263, allocations: 101.5 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.005288, allocations: 79.47 kB / 0.9842 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.005332, allocations: 150.9 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-05/0.005377, allocations: 158.7 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.276e-05/0.00543, allocations: 158.5 kB / 0.9846 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.005733, allocations: 417 kB / 0.985 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/0.005816, allocations: 169.1 kB / 0.9852 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.005848, allocations: 84.14 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.005875, allocations: 75.28 kB / 0.9853 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.005926, allocations: 109.8 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.005927, allocations: 3.938 kB / 0.9854 GB, free: 13.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 8.63e-05/0.006013, allocations: 37.64 kB / 0.9855 GB, free: 13.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.006074, allocations: 130.6 kB / 0.9856 GB, free: 13.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.006176, allocations: 101.9 kB / 0.9857 GB, free: 13.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.006187, allocations: 29.7 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.006228, allocations: 80.14 kB / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.00623, allocations: 0 / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.006262, allocations: 13.72 kB / 0.9858 GB, free: 13.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.006366, allocations: 314.8 kB / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-06/0.006373, allocations: 7.938 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.006398, allocations: 25.73 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.006426, allocations: 75.28 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/0.006448, allocations: 79.28 kB / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.542e-05/0.006513, allocations: 37.86 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.006551, allocations: 87.31 kB / 0.9864 GB, free: 12.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/0.006576, allocations: 75.28 kB / 0.9865 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-05/0.006635, allocations: 162.5 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.677e-05/0.006662, allocations: 83.22 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.333e-05/0.006706, allocations: 154.5 kB / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.006831, allocations: 75.28 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.006856, allocations: 83.33 kB / 0.987 GB, free: 12.18 MB / 0.948 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.0001026/0.006959, allocations: 260.4 kB / 0.9872 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.007015, allocations: 112.9 kB / 0.9874 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.007056, allocations: 104.1 kB / 0.9875 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.438e-05/0.007111, allocations: 188.2 kB / 0.9876 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.523e-05/0.007166, allocations: 180.2 kB / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/0.007218, allocations: 180.3 kB / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.00742, allocations: 376.2 kB / 0.9883 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/0.007452, allocations: 101 kB / 0.9884 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.007487, allocations: 108.9 kB / 0.9885 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.132e-05/0.007538, allocations: 180.3 kB / 0.9887 GB, free: 10.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.007597, allocations: 180.2 kB / 0.9889 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.382e-05/0.00765, allocations: 184.2 kB / 0.9891 GB, free: 9.945 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.579e-05/0.007706, allocations: 180.2 kB / 0.9892 GB, free: 9.762 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.007996, allocations: 303.8 kB / 0.9895 GB, free: 9.441 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.008042, allocations: 113 kB / 0.9896 GB, free: 9.324 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.008102, allocations: 184.2 kB / 0.9898 GB, free: 9.137 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.008177, allocations: 105 kB / 0.9899 GB, free: 9.027 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.176e-05/0.008249, allocations: 188.1 kB / 0.9901 GB, free: 8.836 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.008276, allocations: 101 kB / 0.9902 GB, free: 8.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.008324, allocations: 83.28 kB / 0.9903 GB, free: 8.648 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.01e-07/0.008324, allocations: 0 / 0.9903 GB, free: 8.648 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000292/0.008616, allocations: 7.938 kB / 0.9903 GB, free: 8.641 MB / 0.948 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.0006866/0.009302, allocations: 0.8204 MB / 0.9911 GB, free: 7.793 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.041e-05/0.009353, allocations: 7.938 kB / 0.9911 GB, free: 7.785 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.009355, allocations: 4 kB / 0.9911 GB, free: 7.781 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/0.009356, allocations: 0 / 0.9911 GB, free: 7.781 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.009697, allocations: 458.1 kB / 0.9915 GB, free: 7.332 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.01092, allocations: 1.568 MB / 0.993 GB, free: 5.684 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.01097, allocations: 59.34 kB / 0.9931 GB, free: 5.605 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.01099, allocations: 4 kB / 0.9931 GB, free: 5.602 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.01102, allocations: 16.59 kB / 0.9931 GB, free: 5.586 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.01102, allocations: 0 / 0.9931 GB, free: 5.586 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.0258, allocations: 1.832 MB / 0.9949 GB, free: 3.941 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/6.689, allocations: 6.328 kB / 0.9949 GB, free: 3.941 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.709654523991048]