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.001414/0.001414, allocations: 92.7 kB / 19.44 MB, free: 328 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.001617/0.001617, allocations: 161.3 kB / 22.75 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.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.243/3.243, allocations: 429.6 MB / 0.673 GB, free: 3.887 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.293e-06/1.293e-06, allocations: 0.5469 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.719e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002642/0.00267, allocations: 1.287 MB / 0.8789 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.00394, allocations: 0.8434 MB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.003967, allocations: 0.6562 kB / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.004007, allocations: 0 / 0.8797 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.004226, allocations: 18.7 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.004411, allocations: 48.14 kB / 0.8797 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.004483, allocations: 23.83 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.181e-05/0.004515, allocations: 4 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.004599, allocations: 19.97 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.004678, allocations: 4 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.004693, allocations: 0 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.354e-05/0.004737, allocations: 11.88 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.004781, allocations: 11.92 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.004812, allocations: 7.984 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.426e-05/0.004906, allocations: 19.98 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004909, allocations: 0 / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.02e-07/0.004909, allocations: 0.9062 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004913, allocations: 0 / 0.8798 GB, free: 4.18 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.0003564/0.00527, allocations: 251.3 kB / 0.8801 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.005305, allocations: 8.031 kB / 0.8801 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.005385, allocations: 84.22 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.005557, allocations: 190.1 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.272e-05/0.00565, allocations: 154.9 kB / 0.8805 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.005742, allocations: 150.9 kB / 0.8806 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.92e-05/0.005842, allocations: 110.8 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/0.005887, allocations: 75.47 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/0.005979, allocations: 150.9 kB / 0.881 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.602e-05/0.006065, allocations: 150.9 kB / 0.8811 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.006167, allocations: 161.9 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.006541, allocations: 405.5 kB / 0.8817 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.006683, allocations: 173.1 kB / 0.8818 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.006748, allocations: 80.14 kB / 0.8819 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.006805, allocations: 75.28 kB / 0.882 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.604e-05/0.006901, allocations: 109.8 kB / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.006901, allocations: 0 / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 0.0001152/0.007017, allocations: 25.7 kB / 0.8821 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.007148, allocations: 131.7 kB / 0.8822 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.007337, allocations: 109.8 kB / 0.8823 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.007363, allocations: 29.64 kB / 0.8824 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.00744, allocations: 84.7 kB / 0.8824 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.007442, allocations: 0 / 0.8824 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.007492, allocations: 19.14 kB / 0.8825 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.007673, allocations: 314.8 kB / 0.8828 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.007695, allocations: 0 / 0.8828 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.115e-05/0.007757, allocations: 42.94 kB / 0.8828 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.572e-05/0.007802, allocations: 12.86 kB / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007805, allocations: 0 / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001532/0.007958, allocations: 45.78 kB / 0.8829 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.007978, allocations: 6.5 kB / 0.8829 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.007984, allocations: 0 / 0.8829 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.008013, allocations: 0 / 0.8829 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.008014, allocations: 3.938 kB / 0.8829 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.00802, allocations: 0 / 0.8829 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.008115, allocations: 7.938 kB / 0.8829 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.008128, allocations: 3.984 kB / 0.8829 GB, free: 0.8984 MB / 0.8386 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.0001511/0.008279, allocations: 189.1 kB / 0.8831 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.00837, allocations: 113 kB / 0.8832 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/0.00845, allocations: 112.4 kB / 0.8833 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001113/0.008561, allocations: 176.3 kB / 0.8834 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001186/0.00868, allocations: 180.5 kB / 0.8836 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001458/0.008826, allocations: 196.2 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.009122, allocations: 352.9 kB / 0.8841 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002327/0.009355, allocations: 108.9 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.009422, allocations: 101 kB / 0.8843 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.009543, allocations: 184.3 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.009656, allocations: 184.1 kB / 0.8847 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001168/0.009772, allocations: 176.3 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000126/0.009898, allocations: 192.2 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.01012, allocations: 303.8 kB / 0.8853 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.01021, allocations: 108.9 kB / 0.8854 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.01033, allocations: 180.2 kB / 0.8856 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.01044, allocations: 104.9 kB / 0.8857 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.01055, allocations: 184.2 kB / 0.8859 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.0106, allocations: 101 kB / 0.886 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.01067, allocations: 87.27 kB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01067, allocations: 7.938 kB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002893/0.01096, allocations: 3.938 kB / 0.8861 GB, free: 13.44 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.0003377/0.0113, allocations: 190.5 kB / 0.8862 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.01137, allocations: 8 kB / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01137, allocations: 0 / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.01137, allocations: 0 / 0.8863 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.01182, allocations: 470 kB / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.01213, allocations: 168.1 kB / 0.8869 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.653e-05/0.0122, allocations: 67.14 kB / 0.8869 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.01222, allocations: 4.062 kB / 0.8869 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.01224, allocations: 8.5 kB / 0.8869 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/0.01224, allocations: 0 / 0.8869 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.00333/0.01557, allocations: 465 kB / 0.8874 GB, free: 12.04 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 800] 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.204307480948046]