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.001299/0.001299, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001382/0.001382, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.5/1.5, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.942/2.942, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] 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.002212/0.002212, allocations: 71.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9847/0.9869, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002016/0.9889, allocations: 1.259 MB / 1.323 GB, free: 23.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.9897, allocations: 0.7261 MB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.9898, allocations: 0 / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.9898, allocations: 4 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.99, allocations: 20.64 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.751e-05/0.9901, allocations: 2.531 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.257e-05/0.9901, allocations: 8.562 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.9902, allocations: 5.875 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.797e-05/0.9902, allocations: 3.984 kB / 1.323 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.9903, allocations: 12.44 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.9903, allocations: 3.938 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.859e-05/0.9904, allocations: 5.406 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.9904, allocations: 10.58 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.9905, allocations: 4 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.633e-05/0.9905, allocations: 12.59 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.9905, allocations: 0 / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9905, allocations: 3 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.9905, allocations: 0 / 1.324 GB, free: 23.26 MB / 1.061 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.0002608/0.9908, allocations: 325.8 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.9908, allocations: 12.3 kB / 1.324 GB, free: 22.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.892e-05/0.9909, allocations: 78.16 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.9909, allocations: 110 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.9909, allocations: 76.22 kB / 1.324 GB, free: 22.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.9911, allocations: 246.2 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.9911, allocations: 150.9 kB / 1.324 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.9911, allocations: 154.9 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.213e-05/0.9912, allocations: 112 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.9912, allocations: 79.28 kB / 1.325 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.9912, allocations: 150.6 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.9912, allocations: 150.6 kB / 1.325 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.9912, allocations: 150.6 kB / 1.325 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.9914, allocations: 448 kB / 1.326 GB, free: 20.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.981e-05/0.9915, allocations: 179.9 kB / 1.326 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.629e-05/0.9915, allocations: 84.14 kB / 1.326 GB, free: 20.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.9915, allocations: 75.28 kB / 1.326 GB, free: 20.6 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.9915, allocations: 109.8 kB / 1.326 GB, free: 20.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9915, allocations: 0 / 1.326 GB, free: 20.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.713e-05/0.9916, allocations: 41.17 kB / 1.326 GB, free: 20.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.9916, allocations: 126.7 kB / 1.326 GB, free: 20.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.9917, allocations: 99.39 kB / 1.326 GB, free: 20.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.9917, allocations: 25.7 kB / 1.326 GB, free: 20.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.9917, allocations: 86.14 kB / 1.326 GB, free: 20.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.9917, allocations: 0 / 1.326 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.9917, allocations: 9.719 kB / 1.326 GB, free: 20.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.9918, allocations: 313.3 kB / 1.327 GB, free: 19.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-06/0.9918, allocations: 4 kB / 1.327 GB, free: 19.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.9918, allocations: 0 / 1.327 GB, free: 19.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.289e-05/0.9918, allocations: 77.81 kB / 1.327 GB, free: 19.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.9918, allocations: 79.28 kB / 1.327 GB, free: 19.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.638e-05/0.9919, allocations: 32.27 kB / 1.327 GB, free: 19.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.9919, allocations: 86.97 kB / 1.327 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9919, allocations: 79.22 kB / 1.327 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.9919, allocations: 157.4 kB / 1.327 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-05/0.9919, allocations: 83.16 kB / 1.327 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.9919, allocations: 154.6 kB / 1.327 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.9921, allocations: 77.78 kB / 1.328 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.9921, allocations: 79.22 kB / 1.328 GB, free: 18.88 MB / 1.061 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 5.932e-05/0.9921, allocations: 270.2 kB / 1.328 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.9922, allocations: 107.5 kB / 1.328 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.9922, allocations: 108 kB / 1.328 GB, free: 18.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.9922, allocations: 179.7 kB / 1.328 GB, free: 18.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/0.9922, allocations: 186.8 kB / 1.328 GB, free: 18.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.9923, allocations: 180.5 kB / 1.329 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.9924, allocations: 403.1 kB / 1.329 GB, free: 17.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.9924, allocations: 111.5 kB / 1.329 GB, free: 17.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.9924, allocations: 101 kB / 1.329 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.539e-05/0.9925, allocations: 188.1 kB / 1.329 GB, free: 16.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.9925, allocations: 182.4 kB / 1.33 GB, free: 16.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-05/0.9925, allocations: 180.2 kB / 1.33 GB, free: 16.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-05/0.9925, allocations: 184.2 kB / 1.33 GB, free: 16.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.551e-05/0.9926, allocations: 316.5 kB / 1.33 GB, free: 16.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.9926, allocations: 182 kB / 1.33 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.9927, allocations: 179 kB / 1.331 GB, free: 15.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.906e-05/0.9927, allocations: 112.1 kB / 1.331 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.9927, allocations: 178.5 kB / 1.331 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.9928, allocations: 108.9 kB / 1.331 GB, free: 15.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.644e-05/0.9928, allocations: 84.08 kB / 1.331 GB, free: 15.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9928, allocations: 0 / 1.331 GB, free: 15.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002578/0.993, allocations: 3.938 kB / 1.331 GB, free: 15.24 MB / 1.061 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.0003853/0.9934, allocations: 0.8328 MB / 1.332 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 5.381e-05/0.9935, allocations: 3.938 kB / 1.332 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.9935, allocations: 2.75 kB / 1.332 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.9935, allocations: 0 / 1.332 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.9937, allocations: 455.7 kB / 1.332 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.9946, allocations: 1.564 MB / 1.334 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.9947, allocations: 0.6712 MB / 1.334 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.9947, allocations: 6.625 kB / 1.334 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.9948, allocations: 17.22 kB / 1.334 GB, free: 11.67 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.9948, allocations: 4.031 kB / 1.334 GB, free: 11.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/1.012, allocations: 1.247 MB / 1.336 GB, free: 11.32 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/9.113, allocations: 11.31 kB / 1.336 GB, free: 11.32 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.524134542967658]