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.001271/0.001271, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001453/0.001453, allocations: 217 kB / 22.25 MB, free: 5.121 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.992 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.131/3.131, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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="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: 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.002933/0.002933, allocations: 61.78 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4126, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002393/0.415, allocations: 1.262 MB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.4162, allocations: 0.8106 MB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.4162, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.4162, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.4164, allocations: 15.91 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.672e-05/0.4165, allocations: 4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.401e-05/0.4165, allocations: 12 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.4166, allocations: 3.984 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.4166, allocations: 7.984 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4167, allocations: 9.766 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.4167, allocations: 0 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.4168, allocations: 7.984 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.4168, allocations: 7.938 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.4168, allocations: 3.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 7.809e-05/0.4169, allocations: 16.22 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4169, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4169, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.4169, allocations: 4 kB / 1.328 GB, free: 15.77 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.0003109/0.4172, allocations: 247.7 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.4173, allocations: 8.031 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.4174, allocations: 106 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.4174, allocations: 80.16 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.4176, allocations: 189.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.4177, allocations: 150.9 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.4177, allocations: 158.9 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.478e-05/0.4178, allocations: 109.5 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.4178, allocations: 79.22 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/0.4179, allocations: 150.6 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/0.418, allocations: 150.6 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.418, allocations: 158.6 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.4184, allocations: 417 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.549e-05/0.4185, allocations: 177.1 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.4185, allocations: 80.14 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.4186, allocations: 75.28 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/0.4186, allocations: 113.8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4186, allocations: 3.938 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.177e-05/0.4187, allocations: 33.58 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.4188, allocations: 126.7 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.4189, allocations: 105.8 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4189, allocations: 29.7 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.419, allocations: 84.14 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.419, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.419, allocations: 9.719 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4191, allocations: 318.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-06/0.4191, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.416e-05/0.4192, allocations: 3.984 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.4192, allocations: 75.28 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-05/0.4192, allocations: 75.28 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.55e-05/0.4193, allocations: 29.73 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.4193, allocations: 87.22 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/0.4194, allocations: 83.22 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.762e-05/0.4195, allocations: 150.6 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.245e-05/0.4195, allocations: 79.22 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-05/0.4196, allocations: 150.6 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4197, allocations: 87.27 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.4197, allocations: 83.22 kB / 1.332 GB, free: 11.58 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.0001525/0.4199, allocations: 256.9 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.4199, allocations: 113 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.848e-05/0.42, allocations: 112.1 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.971e-05/0.4201, allocations: 180.3 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.452e-05/0.4202, allocations: 192.2 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.52e-05/0.4203, allocations: 176.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.4205, allocations: 376.3 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-05/0.4206, allocations: 108.9 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.4206, allocations: 105 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.24e-05/0.4207, allocations: 188.1 kB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.354e-05/0.4208, allocations: 176.3 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.479e-05/0.4209, allocations: 184.2 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.056e-05/0.421, allocations: 180.2 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.4211, allocations: 303.8 kB / 1.334 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.4212, allocations: 116.9 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.4213, allocations: 184.2 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4214, allocations: 108.9 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.4215, allocations: 176.3 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.4215, allocations: 104.9 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.237e-05/0.4216, allocations: 83.45 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4216, allocations: 8 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002689/0.4219, allocations: 3.938 kB / 1.335 GB, free: 8.008 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.0006451/0.4225, allocations: 0.8254 MB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.509e-05/0.4226, allocations: 7.938 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4226, allocations: 0 / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.4226, allocations: 0 / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4229, allocations: 465.3 kB / 1.336 GB, free: 6.688 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.4242, allocations: 1.556 MB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.4246, allocations: 0.6729 MB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.481e-05/0.4246, allocations: 0 / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.4246, allocations: 15.42 kB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4246, allocations: 0 / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.4532, allocations: 1.263 MB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.79, allocations: 6.625 kB / 1.34 GB, free: 3.246 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.334440716000245]