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.001678/0.001678, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002223/0.002223, allocations: 219.5 kB / 23.03 MB, free: 4.945 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.274/3.274, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_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.001967/0.001967, allocations: 63.38 kB / 1.17 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3817, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003008/0.3847, allocations: 1.251 MB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3863, allocations: 0.8028 MB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.3863, allocations: 0 / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.3863, allocations: 3.984 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.3866, allocations: 11.94 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.215e-05/0.3867, allocations: 7.938 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.311e-05/0.3868, allocations: 15.91 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.3868, allocations: 4 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.3868, allocations: 4 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.3872, allocations: 0 / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3872, allocations: 4 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.274e-05/0.3873, allocations: 11.98 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.3873, allocations: 7.984 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.3874, allocations: 0 / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.3875, allocations: 20.14 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3875, allocations: 0 / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3875, allocations: 0 / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.3875, allocations: 0 / 1.347 GB, free: 13.81 MB / 1.045 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.000396/0.3879, allocations: 250.4 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3879, allocations: 11.97 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.342e-05/0.388, allocations: 79.47 kB / 1.348 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.388, allocations: 118 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.3881, allocations: 76.22 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.3883, allocations: 185.8 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-05/0.3884, allocations: 154.9 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.3885, allocations: 150.9 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.486e-05/0.3886, allocations: 109.3 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.092e-05/0.3886, allocations: 75.28 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.3887, allocations: 150.6 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.63e-05/0.3888, allocations: 158.5 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.3888, allocations: 150.6 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.3892, allocations: 421 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3893, allocations: 177.2 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.3894, allocations: 80.14 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.3894, allocations: 75.28 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.452e-05/0.3895, allocations: 117.7 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3895, allocations: 0 / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.857e-05/0.3896, allocations: 29.69 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.3896, allocations: 126.7 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.3898, allocations: 105.8 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3898, allocations: 25.7 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.3898, allocations: 80.14 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.3898, allocations: 4 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3899, allocations: 17.7 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.39, allocations: 310.8 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-06/0.39, allocations: 0 / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.3901, allocations: 29.7 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/0.3901, allocations: 83.22 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-05/0.3902, allocations: 75.28 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.752e-05/0.3902, allocations: 25.7 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.3903, allocations: 89.25 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/0.3903, allocations: 75.28 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.518e-05/0.3904, allocations: 162.5 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.3905, allocations: 79.28 kB / 1.351 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.131e-05/0.3905, allocations: 154.6 kB / 1.351 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.3907, allocations: 79.3 kB / 1.351 GB, free: 9.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3907, allocations: 83.28 kB / 1.351 GB, free: 9.504 MB / 1.045 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.0001614/0.3909, allocations: 256.4 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.391, allocations: 120.8 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.3911, allocations: 108.1 kB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.203e-05/0.3912, allocations: 184.2 kB / 1.352 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.526e-05/0.3912, allocations: 184.2 kB / 1.352 GB, free: 8.625 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.304e-05/0.3913, allocations: 180.3 kB / 1.352 GB, free: 8.441 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.3916, allocations: 380.3 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.968e-05/0.3917, allocations: 101 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.3918, allocations: 112.9 kB / 1.353 GB, free: 7.797 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.3919, allocations: 188.1 kB / 1.353 GB, free: 7.605 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.392, allocations: 176.3 kB / 1.353 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.242e-05/0.3921, allocations: 188.2 kB / 1.353 GB, free: 7.234 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-05/0.3922, allocations: 176.3 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.3924, allocations: 307.8 kB / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.3925, allocations: 112.9 kB / 1.354 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3926, allocations: 176.3 kB / 1.354 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3927, allocations: 109 kB / 1.354 GB, free: 6.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3928, allocations: 188.2 kB / 1.354 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.3929, allocations: 104.9 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.3929, allocations: 79.28 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3929, allocations: 0 / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003831/0.3933, allocations: 4 kB / 1.355 GB, free: 5.938 MB / 1.045 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.0007376/0.3941, allocations: 0.8232 MB / 1.355 GB, free: 5.086 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 4.742e-05/0.3941, allocations: 8 kB / 1.355 GB, free: 5.078 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3941, allocations: 0 / 1.355 GB, free: 5.078 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.3941, allocations: 0 / 1.355 GB, free: 5.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.3946, allocations: 459.7 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3962, allocations: 1.56 MB / 1.357 GB, free: 2.988 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.584e-05/0.3963, allocations: 59.34 kB / 1.357 GB, free: 2.91 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.3963, allocations: 0 / 1.357 GB, free: 2.91 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.3963, allocations: 11.44 kB / 1.357 GB, free: 2.898 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.3963, allocations: 0 / 1.357 GB, free: 2.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.4239, allocations: 1.34 MB / 1.359 GB, free: 1.746 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 7.109 kB / 1.359 GB, free: 1.742 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.641231774934568]