Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.002454/0.002454, allocations: 81.5 kB / 19.44 MB, free: 340 kB / 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.003019/0.003019, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.368/3.368, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.672e-05, allocations: 9.859 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00263/0.002656, allocations: 1.295 MB / 0.8787 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003941, allocations: 0.8478 MB / 0.8796 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.003972, allocations: 0 / 0.8796 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.156e-05/0.004023, allocations: 1.125 kB / 0.8796 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.004266, allocations: 13.61 kB / 0.8796 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.004466, allocations: 50.03 kB / 0.8796 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.004556, allocations: 21.67 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.004597, allocations: 13.06 kB / 0.8796 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.004682, allocations: 15.97 kB / 0.8797 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.004778, allocations: 10.44 kB / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.004804, allocations: 0 / 0.8797 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.004851, allocations: 7.984 kB / 0.8797 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.004903, allocations: 11.98 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.004927, allocations: 0 / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.005027, allocations: 19.97 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.00503, allocations: 3.938 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.21e-07/0.00503, allocations: 2.031 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.005035, allocations: 4 kB / 0.8797 GB, free: 4.348 MB / 0.8386 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.0004183/0.005453, allocations: 360.2 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.005486, allocations: 8.031 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.005588, allocations: 124.1 kB / 0.8802 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.005783, allocations: 232.5 kB / 0.8804 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.005911, allocations: 242.8 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.00604, allocations: 244.4 kB / 0.8809 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.006145, allocations: 145.5 kB / 0.881 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.559e-05/0.00621, allocations: 123.4 kB / 0.8811 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.006343, allocations: 242.8 kB / 0.8814 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.006464, allocations: 238.8 kB / 0.8816 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.006591, allocations: 246.8 kB / 0.8818 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.007033, allocations: 0.573 MB / 0.8824 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.007204, allocations: 265.4 kB / 0.8826 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.007276, allocations: 126.9 kB / 0.8828 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.007341, allocations: 120.8 kB / 0.8829 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.81e-05/0.007439, allocations: 160.5 kB / 0.883 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.00744, allocations: 4 kB / 0.883 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.783e-05/0.007528, allocations: 29.69 kB / 0.8831 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.007638, allocations: 174.6 kB / 0.8832 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.007814, allocations: 165.9 kB / 0.8834 GB, free: 428 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.007836, allocations: 29.69 kB / 0.8834 GB, free: 392 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.007916, allocations: 130.9 kB / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.007918, allocations: 0 / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.007964, allocations: 23.38 kB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002685/0.008233, allocations: 492.1 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.008254, allocations: 7.984 kB / 0.884 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.835e-05/0.008292, allocations: 25.95 kB / 0.8841 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/0.008338, allocations: 23.72 kB / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.008341, allocations: 4 kB / 0.8841 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.008461, allocations: 33.7 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.008474, allocations: 8 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.00848, allocations: 0 / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.008496, allocations: 3.984 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.008497, allocations: 0 / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.008502, allocations: 0 / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.008604, allocations: 15.83 kB / 0.8841 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.008613, allocations: 0 / 0.8841 GB, free: 15.59 MB / 0.8542 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001732/0.008786, allocations: 275.8 kB / 0.8844 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.892e-05/0.008885, allocations: 152.8 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.611e-05/0.008971, allocations: 152.3 kB / 0.8847 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001381/0.009109, allocations: 276 kB / 0.885 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001341/0.009244, allocations: 264.1 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001336/0.009377, allocations: 268 kB / 0.8855 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.009721, allocations: 0.492 MB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-05/0.009797, allocations: 148.9 kB / 0.8861 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.009872, allocations: 148.8 kB / 0.8862 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.01, allocations: 264.1 kB / 0.8865 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.01015, allocations: 276.1 kB / 0.8867 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001358/0.01028, allocations: 272 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001328/0.01041, allocations: 264.1 kB / 0.8873 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.01068, allocations: 451.9 kB / 0.8877 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.01078, allocations: 152.8 kB / 0.8878 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.01093, allocations: 268.1 kB / 0.8881 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01104, allocations: 144.9 kB / 0.8882 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.01118, allocations: 272.3 kB / 0.8885 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.01126, allocations: 152.9 kB / 0.8886 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.839e-05/0.01134, allocations: 127.2 kB / 0.8888 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01134, allocations: 0 / 0.8888 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002377/0.01158, allocations: 11.88 kB / 0.8888 GB, free: 10.66 MB / 0.8542 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.0003115/0.01189, allocations: 231.1 kB / 0.889 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.101e-05/0.01197, allocations: 19.62 kB / 0.889 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01197, allocations: 0 / 0.889 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.01197, allocations: 0 / 0.889 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.01254, allocations: 0.7062 MB / 0.8897 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.01286, allocations: 217.7 kB / 0.8899 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.194e-05/0.01293, allocations: 67.27 kB / 0.89 GB, free: 9.355 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.081e-05/0.01295, allocations: 7.875 kB / 0.89 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.01297, allocations: 8.5 kB / 0.89 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01297, allocations: 0 / 0.89 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.003073/0.01604, allocations: 476.7 kB / 0.8904 GB, free: 8.895 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 8.46332176506985]