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.001674/0.001674, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001466/0.001466, allocations: 217 kB / 23.05 MB, free: 5.074 MB / 14.72 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 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.07/3.07, allocations: 0.49 GB / 0.7959 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 70.48 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3445, allocations: 176.1 MB / 1.327 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002392/0.3469, allocations: 1.262 MB / 1.328 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3481, allocations: 0.8145 MB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.3481, allocations: 0 / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.3482, allocations: 0 / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3484, allocations: 19.91 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.984e-05/0.3484, allocations: 4 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.3485, allocations: 7.938 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.3485, allocations: 0 / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.3486, allocations: 7.984 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3487, allocations: 7.984 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.3487, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.866e-05/0.3488, allocations: 15.94 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.3488, allocations: 7.984 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.3488, allocations: 0 / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.375e-05/0.3489, allocations: 12.2 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3489, allocations: 4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3489, allocations: 0 / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3489, allocations: 0 / 1.329 GB, free: 15.75 MB / 1.029 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.0003443/0.3493, allocations: 247.6 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3493, allocations: 12.03 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.833e-05/0.3494, allocations: 87.34 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.72e-05/0.3494, allocations: 106 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.3495, allocations: 76.22 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.3497, allocations: 189.8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/0.3498, allocations: 150.9 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.377e-05/0.3498, allocations: 158.9 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.267e-05/0.3499, allocations: 113.3 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/0.35, allocations: 75.28 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.35, allocations: 150.6 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.191e-05/0.3501, allocations: 150.6 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.3502, allocations: 154.5 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.3505, allocations: 425 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.3506, allocations: 169.2 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.3507, allocations: 80.14 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.3508, allocations: 75.28 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.523e-05/0.3508, allocations: 121.7 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.3508, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.56e-05/0.3509, allocations: 29.7 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.351, allocations: 126.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3511, allocations: 97.84 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3511, allocations: 25.7 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.3512, allocations: 88.14 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-06/0.3512, allocations: 0 / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.3512, allocations: 13.72 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3514, allocations: 310.8 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.3514, allocations: 4 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.3514, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.3515, allocations: 79.28 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/0.3515, allocations: 79.22 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.959e-05/0.3516, allocations: 33.69 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.3516, allocations: 83.22 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/0.3517, allocations: 83.31 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.228e-05/0.3517, allocations: 158.5 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.193e-05/0.3518, allocations: 75.28 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.109e-05/0.3518, allocations: 154.5 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.352, allocations: 79.28 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.352, allocations: 83.2 kB / 1.333 GB, free: 11.48 MB / 1.029 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.0001476/0.3522, allocations: 264.9 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.3523, allocations: 113 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.3523, allocations: 104.1 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.788e-05/0.3524, allocations: 184.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-05/0.3525, allocations: 180.2 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.404e-05/0.3526, allocations: 184.3 kB / 1.334 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3528, allocations: 376.3 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.662e-05/0.3529, allocations: 109 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.3529, allocations: 104.9 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.735e-05/0.353, allocations: 180.2 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.3531, allocations: 184.2 kB / 1.335 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.731e-05/0.3532, allocations: 188.2 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-05/0.3533, allocations: 180.2 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.3534, allocations: 307.7 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.3535, allocations: 108.9 kB / 1.335 GB, free: 8.598 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3536, allocations: 192.2 kB / 1.336 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3538, allocations: 101 kB / 1.336 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3539, allocations: 180.2 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/0.3539, allocations: 101 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.469e-05/0.354, allocations: 91.44 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/0.354, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003152/0.3543, allocations: 4 kB / 1.336 GB, free: 7.914 MB / 1.029 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.0006882/0.355, allocations: 0.8274 MB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.758e-05/0.3551, allocations: 4 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3551, allocations: 4 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.3551, allocations: 0 / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3554, allocations: 460.7 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3568, allocations: 1.556 MB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3571, allocations: 0.6728 MB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.098e-05/0.3571, allocations: 8.094 kB / 1.339 GB, free: 4.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.3572, allocations: 11.44 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3572, allocations: 0 / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.3795, allocations: 1.302 MB / 1.341 GB, free: 3.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.32, allocations: 7.391 kB / 1.341 GB, free: 3.129 MB / 1.029 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.92068720603129]